记录详情

Wrong Answer

In file included from iostream:39:
In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]',
    inlined from 'int main()' at foo.cc:30:10:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/ostream:202:25: warning: 'max_id' may be used uninitialized [-Wmaybe-uninitialized]
  202 |       { return _M_insert(__n); }
      |                ~~~~~~~~~^~~~~
foo.cc: In function 'int main()':
foo.cc:21:24: note: 'max_id' was declared here
   21 |         ll max_num = 0,max_id;
      |                        ^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 412.0 KiB
#2 Accepted 3ms 412.0 KiB
#3 Wrong Answer Read 140721107958952, expect 0. 3ms 308.0 KiB
#4 Accepted 5ms 412.0 KiB
#5 Accepted 11ms 356.0 KiB

信息

递交者
类型
递交
题目
3-1 整数中的数字
比赛
2023暑期青少年社团(训练赛)
语言
C++
递交时间
2023-08-16 13:01:13
评测时间
2023-08-16 13:01:13
评测机
分数
80
总耗时
29ms
峰值内存
412.0 KiB