Wrong Answer

/in/foo.cc: In function 'void res()':
/in/foo.cc:10:22: warning: iteration 1000004 invokes undefined behavior [-Waggressive-loop-optimizations]
   10 |                 dp[i]=i;
      |                 ~~~~~^~
/in/foo.cc:8:23: note: within this loop
    8 |         for (int i=1;i<=N;i++)
      |                      ~^~~
# 状态 耗时 内存占用
#1 Wrong Answer 20ms 8.098 MiB
#2 Accepted 20ms 8.16 MiB
#3 Accepted 20ms 8.113 MiB
#4 Accepted 20ms 8.152 MiB
#5 Accepted 21ms 8.156 MiB
#6 Accepted 20ms 7.957 MiB
#7 Wrong Answer 20ms 8.066 MiB
#8 Accepted 20ms 8.051 MiB
#9 Accepted 20ms 7.965 MiB
#10 Accepted 20ms 8.051 MiB

信息

递交者
类型
递交
题目
P3059 拆分 GESP202603 七级T1
语言
C++
递交时间
2026-05-31 22:38:57
评测时间
2026-05-31 22:38:57
评测机
分数
80
总耗时
207ms
峰值内存
8.16 MiB