Accepted

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)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 284.0 KiB
#2 Accepted 3ms 284.0 KiB
#3 Accepted 3ms 284.0 KiB
#4 Accepted 2ms 284.0 KiB
#5 Accepted 2ms 248.0 KiB

信息

递交者
类型
递交
题目
P1038 xf2-3爸爸的爱
语言
C++
递交时间
2023-05-12 21:08:06
评测时间
2023-05-12 21:08:06
评测机
分数
100
总耗时
14ms
峰值内存
284.0 KiB