记录详情

Time Exceeded

foo.c: In function 'main':
foo.c:17:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   17 |  printf("%d",cnt);
      |          ~^  ~~~
      |           |  |
      |           |  long long int
      |           int
      |          %lld
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    5 |  scanf("%d%d",&n,&k);
      |  ^~~~~~~~~~~~~~~~~~~
foo.c:7:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    7 |  {scanf("%d",&a[i]);
      |   ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 373, expect 302. 5ms 2.125 MiB
#2 Accepted 5ms 2.125 MiB
#3 Wrong Answer Read 10347, expect 17811. 52ms 2.125 MiB
#4 Wrong Answer Read 6789, expect 15473. 57ms 2.125 MiB
#5 Time Exceeded ≥1101ms ≥2.125 MiB
#6 Time Exceeded ≥1099ms ≥2.125 MiB

信息

递交者
类型
递交
题目
P1306 C. Multiple of k
比赛
2021年互联网创新创业科技节程序设计大赛
语言
C
递交时间
2021-12-23 17:53:53
评测时间
2021-12-23 17:53:53
评测机
分数
25
总耗时
≥2321ms
峰值内存
≥2.125 MiB