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:14:32:
/nix/gcc-13.2.0/include/c++/13.2.0/ostream:223:25: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
  223 |       { return _M_insert(__f); }
      |                ~~~~~~~~~^~~~~
foo.cc: In function ‘int main()’:
foo.cc:6:18: note: ‘y’ was declared here
    6 |         double x,y;
      |                  ^
# 状态 耗时 内存占用
#1 Accepted 2ms 532.0 KiB
#2 Accepted 2ms 324.0 KiB
#3 Accepted 3ms 536.0 KiB
#4 Accepted 2ms 424.0 KiB
#5 Accepted 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P2342 1.4.13:分段函数
比赛
春季班初级4.13
语言
C++
递交时间
2024-04-14 18:47:17
评测时间
2024-04-14 18:47:17
评测机
分数
100
总耗时
14ms
峰值内存
536.0 KiB