记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%lld",&n);
  ^~~~~~~~~~~~~~~~
foo.c:29:14: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(nn==0) m=m+2;
             ~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 0ms 256.0 KiB
#3 Wrong Answer Read 2, expect 3. 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Accepted 0ms 256.0 KiB
#6 Accepted 1ms 256.0 KiB
#7 Wrong Answer Read 8, expect 9. 1ms 256.0 KiB
#8 Wrong Answer Read 12, expect 13. 1ms 256.0 KiB
#9 Accepted 1ms 256.0 KiB
#10 Wrong Answer Read 12, expect 13. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1032 天平称量
语言
C
递交时间
2021-09-06 22:13:40
评测时间
2021-09-06 22:13:40
评测机
分数
60
总耗时
10ms
峰值内存
256.0 KiB