/ MYOJ /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   10 |  printf("%d",sum);
      |          ~^  ~~~
      |           |  |
      |           |  long long int
      |           int
      |          %lld
foo.cc:5:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    5 |  scanf("%d",&n);
      |  ~~~~~^~~~~~~~~
foo.cc:7:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    7 |   scanf("%d",&x);
      |   ~~~~~^~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1983979928, expect 2310987368. 3ms 256.0 KiB
#2 Wrong Answer Read -1976770327, expect 2318196969. 7ms 256.0 KiB
#3 Wrong Answer Read -1970183493, expect 2324783803. 7ms 256.0 KiB
#4 Wrong Answer Read -1966060451, expect 2328906845. 8ms 256.0 KiB
#5 Wrong Answer Read -1961324593, expect 2333642703. 4ms 256.0 KiB

信息

递交者
类型
递交
题目
P1002 求和
语言
C++
递交时间
2022-05-31 13:31:54
评测时间
2022-05-31 13:31:54
评测机
分数
0
总耗时
30ms
峰值内存
256.0 KiB