记录详情

Time Exceeded

/in/foo.c: In function 'main':
/in/foo.c:4:2: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
  scanf("%d%d",&j,&k);
  ^~~~~
/in/foo.c:4:2: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:4:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:8:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(j%400==0||j%4==0&&j%100!=0)
                ~~~~~~^~~~~~~~~~
/in/foo.c:11:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
  printf("%d",cnt);
  ^~~~~~
/in/foo.c:11:2: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:11:2: note: include '<stdio.h>' or provide a declaration of 'printf'
# 状态 耗时 内存占用
#1 Accepted 1ms 224.0 KiB
#2 Time Exceeded ≥1003ms ≥128.0 KiB

信息

递交者
类型
递交
题目
P1182 闰年祝福
比赛
2020年互联网创新创业科技节程序设计大赛
语言
C
递交时间
2020-12-09 13:39:26
评测时间
2020-12-09 13:39:26
评测机
分数
50
总耗时
≥1004ms
峰值内存
≥224.0 KiB