记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:7:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(y%4 == 0 && y%100 != 0 || y%400 == 0 )
     ~~~~~~~~~^~~~~~~~~~~~~
/in/foo.c:32:2: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%d\n",sum);
  ^~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 0ms 196.0 KiB
#2 Accepted 0ms 204.0 KiB
#3 Wrong Answer 0ms 208.0 KiB
#4 Wrong Answer 0ms 200.0 KiB
#5 Wrong Answer 0ms 204.0 KiB

信息

递交者
类型
递交
题目
A1-4 分支结构练习:今年过去了多少天
语言
C
递交时间
2019-10-15 20:29:20
评测时间
2019-10-15 20:29:20
评测机
分数
40
总耗时
3ms
峰值内存
208.0 KiB