记录详情

Time Exceeded

foo.c: In function 'main':
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ^~~~~~~~~~~~~~
foo.c:7:19: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  for(i=0;i<n;i++) scanf("%d",&m[i]);
                   ^~~~~~~~~~~~~~~~~
foo.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d",&a,&b);
  ^~~~~~~~~~~~~~~~~~~~
foo.c:11:34: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(zc(i,8)==0&&zc(i,m[j])==1) k++;
                                 ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1226075825, expect 7413. 1ms 288.0 KiB
#2 Wrong Answer Read 430352821, expect 1563. 1ms 256.0 KiB
#3 Wrong Answer Read -292981166, expect 1570. 1ms 256.0 KiB
#4 Time Exceeded ≥1303ms ≥256.0 KiB
#5 Time Exceeded ≥1338ms ≥256.0 KiB
#6 Time Exceeded ≥1440ms ≥188.0 KiB
#7 Time Exceeded ≥1440ms ≥200.0 KiB
#8 Time Exceeded ≥1448ms ≥204.0 KiB
#9 Time Exceeded ≥1451ms ≥200.0 KiB
#10 Time Exceeded ≥1853ms ≥236.0 KiB

信息

递交者
类型
递交
题目
P1142 八
语言
C
递交时间
2021-11-16 19:16:10
评测时间
2021-11-16 19:16:10
评测机
分数
0
总耗时
≥10281ms
峰值内存
≥288.0 KiB