In file included from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/istream:39,
from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/sstream:38,
from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/complex:45,
from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ccomplex:39,
from stdc++.h:54:
In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>]',
inlined from 'int main()' at foo.cc:12:32:
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:221:25: warning: 'sum' may be used uninitialized [-Wmaybe-uninitialized]
221 | { return _M_insert(__f); }
| ~~~~~~~~~^~~~~
foo.cc: In function 'int main()':
foo.cc:5:20: note: 'sum' was declared here
5 | double a,b,sum,xmin,xmax;cin>>a>>b;
| ^~~
[Hydro](https://hydro.ac)提供评测服务