记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:8:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
  scanf("%d %d",&L,&R);
         ~^     ~~
         %ld
foo.c:8:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=]
  scanf("%d %d",&L,&R);
            ~^     ~~
            %ld
foo.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d",&L,&R);
  ^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 6, expect 5. 0ms 256.0 KiB
#2 Accepted 0ms 256.0 KiB
#3 Wrong Answer Read 1, expect 21. 0ms 256.0 KiB
#4 Wrong Answer Read 110, expect 300. 0ms 256.0 KiB
#5 Wrong Answer Read 1, expect 4. 1ms 256.0 KiB
#6 Wrong Answer Read 1, expect 7. 0ms 256.0 KiB
#7 Wrong Answer Read 201, expect 826. 0ms 256.0 KiB
#8 Wrong Answer Read 864, expect 3590. 0ms 256.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-08-31 00:30:24
评测时间
2021-08-31 00:30:24
评测机
分数
10
总耗时
8ms
峰值内存
256.0 KiB