记录详情

Accepted

In file included from /usr/include/c++/12/iostream:39,
                 from /in/foo.cc:1:
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 /in/foo.cc:20:8:
/usr/include/c++/12/ostream:202:25: warning: 'num' may be used uninitialized [-Wmaybe-uninitialized]
  202 |       { return _M_insert(__n); }
      |                ~~~~~~~~~^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:25: note: 'num' was declared here
    6 |         long long int n,num;
      |                         ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 480.0 KiB
#2 Accepted 2ms 480.0 KiB

信息

递交者
类型
递交
题目
P1185 永生诅咒
比赛
2025程序设计与竞赛作业赛第一场(整装出发)
语言
C++
递交时间
2025-09-27 19:07:04
评测时间
2025-10-03 02:08:28
评测机
分数
100
总耗时
4ms
峰值内存
480.0 KiB