记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:13:6: warning: operation on 'sum' may be undefined [-Wsequence-point]
   sum=sum=MonthDay(year,m);
   ~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int MonthDay(int, int)':
foo.cc:33:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  else
  ^~~~
foo.cc:36:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   return day;
   ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Wrong Answer Read {0}, expect {1}. ["31","62"] 2ms 400.0 KiB
#3 Wrong Answer Read {0}, expect {1}. ["31","365"] 1ms 384.0 KiB
#4 Wrong Answer Read {0}, expect {1}. ["31","365"] 2ms 384.0 KiB
#5 Wrong Answer Read {0}, expect {1}. ["31","344"] 2ms 384.0 KiB

信息

递交者
类型
递交
题目
A1-4 分支结构练习:今年过去了多少天
比赛
2020苏青奥赛集训营(2021-1-31课堂小练)
语言
C++
递交时间
2021-01-31 12:06:00
评测时间
2021-01-31 12:06:00
评测机
分数
20
总耗时
11ms
峰值内存
400.0 KiB