Accepted

In file included from iostream:41:
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:16:32:
/nix/gcc-13.2.0/include/c++/13.2.0/ostream:223:25: warning: ‘r’ may be used uninitialized [-Wmaybe-uninitialized]
  223 |       { return _M_insert(__f); }
      |                ~~~~~~~~~^~~~~
foo.cc: In function ‘int main()’:
foo.cc:7:16: note: ‘r’ was declared here
    7 |         double r;
      |                ^
# 状态 耗时 内存占用
#1 Accepted 2ms 772.0 KiB
#2 Accepted 2ms 320.0 KiB
#3 Accepted 2ms 536.0 KiB
#4 Accepted 1ms 536.0 KiB
#5 Accepted 2ms 320.0 KiB
#6 Accepted 2ms 540.0 KiB
#7 Accepted 2ms 536.0 KiB
#8 Accepted 2ms 320.0 KiB
#9 Accepted 2ms 764.0 KiB
#10 Accepted 2ms 536.0 KiB

信息

递交者
类型
递交
比赛
春季班初级4.4
语言
C++
递交时间
2024-04-04 12:07:00
评测时间
2024-04-04 12:07:00
评测机
分数
100
总耗时
23ms
峰值内存
772.0 KiB