记录详情

Wrong Answer

foo.cc: In function ‘bool isrn(int)’:
foo.cc:8:1: warning: control reaches end of non-void function [-Wreturn-type]
    8 | }
      | ^
foo.cc: In function ‘int main()’:
foo.cc:43:11: warning: ‘ans’ may be used uninitialized [-Wmaybe-uninitialized]
   43 |     cout<<ans;
      |           ^~~
foo.cc:11:24: note: ‘ans’ was declared here
   11 |     int year,month,day,ans;
      |                        ^~~
# 状态 耗时 内存占用
#1 Wrong Answer Read 366, expect 365. 6ms 1008.0 KiB
#2 Accepted 7ms 1.062 MiB
#3 Wrong Answer Read 366, expect 365. 6ms 1.02 MiB
#4 Accepted 8ms 1.059 MiB
#5 Wrong Answer Read 345, expect 344. 7ms 1.23 MiB

信息

递交者
类型
递交
比赛
2024程序设计与竞赛作业赛第一场(喜相逢)
语言
C++
递交时间
2024-09-29 20:13:06
评测时间
2024-09-29 20:13:06
评测机
分数
40
总耗时
37ms
峰值内存
1.23 MiB