记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
  scanf("%d",&n);
         ~^  ~~
         %lld
foo.c:27:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%d",m);
          ~^
          %lld
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 30, expect 1. 0ms 256.0 KiB
#2 Wrong Answer Read 29, expect 2. 0ms 256.0 KiB
#3 Wrong Answer Read 30, expect 3. 0ms 256.0 KiB
#4 Wrong Answer Read 29, expect 4. 0ms 256.0 KiB
#5 Wrong Answer Read 29, expect 5. 0ms 288.0 KiB
#6 Wrong Answer Read 30, expect 7. 0ms 256.0 KiB
#7 Wrong Answer Read 30, expect 9. 0ms 256.0 KiB
#8 Wrong Answer Read 29, expect 13. 0ms 288.0 KiB
#9 Wrong Answer Read 30, expect 15. 0ms 288.0 KiB
#10 Wrong Answer Read 29, expect 13. 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1032 天平称量
语言
C
递交时间
2021-09-06 19:22:54
评测时间
2021-09-06 19:22:54
评测机
分数
0
总耗时
8ms
峰值内存
288.0 KiB