Wrong Answer

In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/istream:39,
                 from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/sstream:38,
                 from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/complex:45,
                 from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/ccomplex:39,
                 from stdc++.h:54:
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:14:8:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/ostream:202:25: warning: 'sday' may be used uninitialized [-Wmaybe-uninitialized]
  202 |       { return _M_insert(__n); }
      |                ~~~~~~~~~^~~~~
foo.cc: In function 'int main()':
foo.cc:6:33: note: 'sday' was declared here
    6 |         int n,s=0,week=1,nday=0,sday;cin>>n;
      |                                 ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 140722944893321, expect 17. 4ms 412.0 KiB
#2 Wrong Answer Read 140733488961222, expect 62. 4ms 284.0 KiB
#3 Wrong Answer Read 140736447625456, expect 40. 4ms 284.0 KiB
#4 Wrong Answer Read 140737188042682, expect 370. 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P2459 金币 SDOJ
比赛
2023CSP热身2
语言
C++
递交时间
2023-10-01 19:07:04
评测时间
2023-10-01 19:07:04
评测机
分数
0
总耗时
17ms
峰值内存
412.0 KiB