/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:13:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   13 | scanf("%d",&N);
      | ~~~~~^~~~~~~~~
foo.cc:20:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   20 |     scanf("%d",&v[i]);
      |     ~~~~~^~~~~~~~~~~~
foo.cc:21:8: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
   21 |     sum+=v[i];
      |     ~~~^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 10, expect 6. 2ms 768.0 KiB
#2 Wrong Answer Read 26, expect 27. 2ms 768.0 KiB
#3 Wrong Answer Read 163, expect 183. 2ms 768.0 KiB
#4 Wrong Answer Read 876, expect 966. 2ms 896.0 KiB
#5 Accepted 2ms 768.0 KiB
#6 Wrong Answer Read 1386, expect 880. 2ms 768.0 KiB
#7 Wrong Answer Read 1736, expect 980. 3ms 768.0 KiB
#8 Wrong Answer Read 2626, expect 1000. 3ms 768.0 KiB
#9 Wrong Answer Read 1881, expect 974. 3ms 768.0 KiB
#10 Wrong Answer Read 1907, expect 983. 3ms 768.0 KiB

信息

递交者
类型
递交
题目
P1037 搭建双塔
语言
C++
递交时间
2022-03-12 14:58:43
评测时间
2022-03-12 14:58:43
评测机
分数
10
总耗时
27ms
峰值内存
896.0 KiB