Accepted

In file included from /nix/gcc-13.2.0/include/c++/13.2.0/istream:41,
                 from /nix/gcc-13.2.0/include/c++/13.2.0/sstream:40,
                 from /nix/gcc-13.2.0/include/c++/13.2.0/complex:45,
                 from /nix/gcc-13.2.0/include/c++/13.2.0/ccomplex:39,
                 from stdc++.h:127:
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:7:16: note: ‘y’ was declared here
    7 |         double y;
      |                ^
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 3ms 320.0 KiB
#2 Accepted 3ms 320.0 KiB
#3 Accepted 3ms 532.0 KiB
#4 Accepted 2ms 540.0 KiB
#5 Accepted 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P2342 1.4.13:分段函数
语言
C++
递交时间
2024-04-13 13:00:43
评测时间
2024-04-13 13:00:43
评测机
分数
100
总耗时
15ms
峰值内存
540.0 KiB