Wrong Answer

foo.cc: In function 'int main()':
foo.cc:8:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    8 |  scanf("%d",&n);            //输入
      |  ~~~~~^~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 479001600, expect 3. 1ms 256.0 KiB
#2 Wrong Answer Read 0, expect 6. 1ms 256.0 KiB
#3 Wrong Answer Read 0, expect 10. 1ms 256.0 KiB
#4 Wrong Answer Read 0, expect 15. 1ms 256.0 KiB
#5 Wrong Answer Read 0, expect 1. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1031 任意整数的数字之和。
语言
C++
递交时间
2022-04-19 16:01:02
评测时间
2022-04-19 16:01:02
评测机
分数
0
总耗时
6ms
峰值内存
256.0 KiB