Wrong Answer

/in/foo.cc: In function 'void res()':
/in/foo.cc:9:22: warning: iteration 1000004 invokes undefined behavior [-Waggressive-loop-optimizations]
    9 |                 dp[i]=i;
      |                 ~~~~~^~
/in/foo.cc:7:23: note: within this loop
    7 |         for (int i=1;i<=N;i++)
      |                      ~^~~
# 状态 耗时 内存占用
#1 Wrong Answer 11ms 4.309 MiB
#2 Accepted 11ms 4.145 MiB
#3 Accepted 11ms 4.203 MiB
#4 Accepted 11ms 4.109 MiB
#5 Accepted 11ms 4.27 MiB
#6 Accepted 11ms 4.227 MiB
#7 Wrong Answer 11ms 4.242 MiB
#8 Accepted 11ms 4.293 MiB
#9 Accepted 11ms 4.266 MiB
#10 Accepted 11ms 4.27 MiB

信息

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