记录详情

Time Exceeded

foo.c: In function 'main':
foo.c:5:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
    5 |         scanf("%d %d", &n, &k);
      |                ~^      ~~
      |                 |      |
      |                 int *  long int *
      |                %ld
foo.c:5:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=]
    5 |         scanf("%d %d", &n, &k);
      |                   ~^       ~~
      |                    |       |
      |                    int *   long int *
      |                   %ld
foo.c:16:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
   16 |         printf("%d", time);
      |                 ~^   ~~~~
      |                  |   |
      |                  int long int
      |                 %ld
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1100ms ≥284.0 KiB
#2 Time Exceeded ≥1100ms ≥284.0 KiB
#3 Time Exceeded ≥1101ms ≥284.0 KiB
#4 Time Exceeded ≥1101ms ≥284.0 KiB
#5 Time Exceeded ≥1100ms ≥200.0 KiB

信息

递交者
类型
递交
题目
P1519 琉金之章
比赛
2023秋 苏州青少年科技馆(吴江计算机协会)CSP-J/S模拟赛(4)
语言
C
递交时间
2023-10-13 18:49:07
评测时间
2023-10-13 18:49:07
评测机
分数
0
总耗时
≥5504ms
峰值内存
≥284.0 KiB