/ WHOJ /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   10 |         scanf("%d%d",&a,&b);
      |         ~~~~~^~~~~~~~~~~~~~
foo.cc:16:13: warning: iteration 1000004 invokes undefined behavior [-Waggressive-loop-optimizations]
   16 |         d[i]+=d[i-1];
      |         ~~~~^~~~~~~~
foo.cc:14:18: note: within this loop
   14 |     for(int i=1;i<=1000005;i++)
      |                 ~^~~~~~~~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 226, expect 5895. 19ms 4.117 MiB
#2 Wrong Answer Read 121, expect 28728. 14ms 4.125 MiB
#3 Wrong Answer Read 170, expect 21609. 13ms 4.125 MiB
#4 Wrong Answer Read 9, expect 29614. 12ms 4.125 MiB
#5 Wrong Answer Read 73, expect 25921. 17ms 4.125 MiB
#6 Wrong Answer Read 126, expect 18333. 14ms 4.125 MiB
#7 Wrong Answer Read 81, expect 6512. 14ms 4.125 MiB
#8 Wrong Answer Read 92, expect 11134. 15ms 4.125 MiB
#9 Wrong Answer Read 75, expect 22777. 19ms 4.125 MiB
#10 Wrong Answer Read 37, expect 19523. 12ms 4.125 MiB

信息

递交者
类型
递交
题目
P1118 堆砖
题目数据
下载
语言
C++
递交时间
2022-04-03 21:29:50
评测时间
2022-04-03 21:29:50
评测机
分数
0
总耗时
155ms
峰值内存
4.125 MiB