记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:9:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(i%10==2||20<=i&&i<30)
               ~~~~~^~~~~~
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d",&a,&b);
  ^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 0ms 280.0 KiB
#2 Accepted 0ms 292.0 KiB
#3 Wrong Answer Read 2, expect 21. 1ms 256.0 KiB
#4 Wrong Answer Read 110, expect 300. 1ms 284.0 KiB
#5 Wrong Answer Read 2, expect 4. 0ms 256.0 KiB
#6 Wrong Answer Read 2, expect 7. 0ms 256.0 KiB
#7 Wrong Answer Read 202, expect 826. 0ms 288.0 KiB
#8 Wrong Answer Read 865, expect 3590. 0ms 284.0 KiB
#9 Wrong Answer Read 1, expect 0. 0ms 256.0 KiB
#10 Wrong Answer Read 1010, expect 4000. 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1006 数字统计
语言
C
递交时间
2021-09-20 18:58:24
评测时间
2021-09-20 18:58:24
评测机
分数
20
总耗时
9ms
峰值内存
292.0 KiB