记录详情

Time Exceeded

foo.c: In function 'main':
foo.c:8:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(l%10==2)n+=1;l=l/10;
   ^~
foo.c:8:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if(l%10==2)n+=1;l=l/10;
                   ^
foo.c:7:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  {for(i=0;i<=3;i++)
   ^~~
foo.c:8:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   if(l%10==2)n+=1;l=l/10;
                   ^
foo.c:4:14: warning: unused variable 'c' [-Wunused-variable]
  int l,p,n=0,c,i;
              ^
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d",&l,&p);
  ^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1357ms ≥256.0 KiB
#2 Time Exceeded ≥1359ms ≥232.0 KiB
#3 Time Exceeded ≥1427ms ≥256.0 KiB
#4 Time Exceeded ≥1425ms ≥244.0 KiB
#5 Time Exceeded ≥1442ms ≥232.0 KiB
#6 Time Exceeded ≥1443ms ≥228.0 KiB
#7 Time Exceeded ≥1440ms ≥188.0 KiB
#8 Time Exceeded ≥1442ms ≥256.0 KiB
#9 Time Exceeded ≥1447ms ≥200.0 KiB
#10 Time Exceeded ≥1469ms ≥224.0 KiB

信息

递交者
类型
递交
题目
P1006 数字统计
语言
C
递交时间
2021-09-11 14:55:58
评测时间
2021-09-11 14:55:58
评测机
分数
0
总耗时
≥14256ms
峰值内存
≥256.0 KiB