记录详情

Time Exceeded

/in/foo.c: In function 'runnian':
/in/foo.c:4:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    4 |         if (a % 400 == 0 || a % 4 == 0 && a % 100 != 0)
      |                             ~~~~~~~~~~~^~~~~~~~~~~~~~~
/in/foo.c: In function 'main':
/in/foo.c:11:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
   11 |         scanf("%d %d", &a, &b);
      |                ~^      ~~
      |                 |      |
      |                 int *  long long int *
      |                %lld
/in/foo.c:11:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
   11 |         scanf("%d %d", &a, &b);
      |                   ~^       ~~
      |                    |       |
      |                    int *   long long int *
      |                   %lld
# 状态 耗时 内存占用
#1 Accepted 1ms 284.0 KiB
#2 Time Exceeded ≥1003ms ≥320.0 KiB

信息

递交者
类型
递交
题目
P1182 闰年祝福
比赛
2025程序设计与竞赛作业赛第一场(整装出发)
语言
C
递交时间
2025-09-27 19:41:25
评测时间
2025-10-03 02:12:36
评测机
分数
50
总耗时
≥1004ms
峰值内存
≥320.0 KiB