记录详情

Time Exceeded

foo.c: In function 'main':
foo.c:5:9: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |         scanf("%d %d", &n, &m);
      |         ^~~~~
foo.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main()
foo.c:5:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |         scanf("%d %d", &n, &m);
      |         ^~~~~
foo.c:5:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
foo.c:20:33: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   20 |                                 printf("%d", cnt);
      |                                 ^~~~~~
foo.c:20:33: note: include '<stdio.h>' or provide a declaration of 'printf'
foo.c:20:33: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
foo.c:20:33: note: include '<stdio.h>' or provide a declaration of 'printf'
foo.c:24:33: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   24 |                                 printf("%d", -1);
      |                                 ^~~~~~
foo.c:24:33: note: include '<stdio.h>' or provide a declaration of 'printf'
foo.c:29:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   29 |                 printf("%d", -1);
      |                 ^~~~~~
foo.c:29:17: note: include '<stdio.h>' or provide a declaration of 'printf'
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1101ms ≥284.0 KiB
#2 Time Exceeded ≥1101ms ≥284.0 KiB
#3 Time Exceeded ≥1100ms ≥284.0 KiB
#4 Accepted 0ms 284.0 KiB
#5 Time Exceeded ≥1101ms ≥284.0 KiB
#6 Wrong Answer Read -1, expect 0. 2ms 284.0 KiB
#7 Time Exceeded ≥1101ms ≥284.0 KiB
#8 Time Exceeded ≥1100ms ≥284.0 KiB
#9 Time Exceeded ≥1101ms ≥284.0 KiB
#10 Time Exceeded ≥1101ms ≥284.0 KiB

信息

递交者
类型
递交
比赛
2023秋 苏州青少年科技馆(吴江计算机协会)CSP-J/S模拟赛(4)
语言
C
递交时间
2023-10-13 20:54:19
评测时间
2023-10-13 20:54:19
评测机
分数
10
总耗时
≥8811ms
峰值内存
≥284.0 KiB