记录详情

Time Exceeded

foo.c: In function 'main':
foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    7 |  scanf("%d%d",&n,&m);
      |  ^~~~~~~~~~~~~~~~~~~
foo.c:9:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    9 |   scanf("%d",&a[i]);
      |   ^~~~~~~~~~~~~~~~~
foo.c:13:8: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
   13 |     cnt++;
      |     ~~~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 766222817, expect 1. 3ms 652.0 KiB
#2 Wrong Answer Read -1753177628, expect 4. 3ms 640.0 KiB
#3 Wrong Answer Read 917025370, expect 122. 24ms 640.0 KiB
#4 Wrong Answer Read -525948898, expect 1598. 170ms 640.0 KiB
#5 Time Exceeded ≥1100ms ≥640.0 KiB

信息

递交者
类型
递交
题目
6-1 和为定值的数对
比赛
2021(四) 作业第四场:加速赛
语言
C
递交时间
2021-12-09 13:41:49
评测时间
2021-12-09 13:41:49
评测机
分数
0
总耗时
≥1302ms
峰值内存
≥652.0 KiB