记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:50:19: warning: 'y2' may be used uninitialized in this function [-Wmaybe-uninitialized]
   sum=sum+MonthDay(year,m);
           ~~~~~~~~^~~~~~~~
foo.cc:11:6: note: 'y2' was declared here
  int y2,m2,d2; 
      ^~
foo.cc:10:6: warning: 'y1' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int y1,m1,d1; 
      ^~
# 状态 耗时 内存占用
#1 Wrong Answer Read {0}, expect {1}. ["365","364"] 2ms 384.0 KiB
#2 Accepted 2ms 388.0 KiB
#3 Wrong Answer Read {0}, expect {1}. ["26","25"] 2ms 384.0 KiB
#4 Wrong Answer Read {0}, expect {1}. ["29","28"] 1ms 384.0 KiB
#5 Wrong Answer Read {0}, expect {1}. ["307","306"] 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1083 xf1-6计算日期
比赛
2020苏青奥赛集训营(2021-2-2课堂小练)
语言
C++
递交时间
2021-02-02 13:33:12
评测时间
2021-02-02 13:33:12
评测机
分数
20
总耗时
10ms
峰值内存
388.0 KiB