记录详情

Accepted

foo.c: In function 'getRunYear':
foo.c:4:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(x%4==0&&x%100||x%400==0)
     ~~~~~~^~~~~~~
foo.c: In function 'main':
foo.c:24:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d%d",&year,&month,&day);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-21T15:44:43.548Z","handle":"2020-07-21T15:44:43.548Z","done":"2020-07-21T15:44:43.961Z"}
# 状态 耗时 内存占用
#1 Accepted 0ms 128.0 KiB

信息

递交者
类型
自测
题目
A1-4 分支结构练习:今年过去了多少天
语言
C
递交时间
2020-07-21 23:44:43
评测时间
2020-07-21 23:44:43
评测机
分数
10
总耗时
0ms
峰值内存
128.0 KiB