记录详情

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 0002222222244444..., expect 7413. 4ms 344.0 KiB
#2 Wrong Answer Read 0000000333333336..., expect 1563. 1ms 288.0 KiB
#3 Wrong Answer Read 0555555551010101..., expect 1570. 1ms 288.0 KiB
#4 Time Exceeded ≥466ms ≥320.0 KiB
#5 Time Exceeded ≥448ms ≥360.0 KiB
#6 Time Exceeded ≥191ms ≥580.0 KiB
#7 Time Exceeded ≥252ms ≥288.0 KiB
#8 Time Exceeded ≥291ms ≥424.0 KiB
#9 Time Exceeded ≥246ms ≥372.0 KiB
#10 Time Exceeded ≥1079ms ≥532.0 KiB

信息

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