Accepted

/in/foo.cc: In function 'void yuchuli()':
/in/foo.cc:11:43: warning: iteration 333665 invokes undefined behavior [-Waggressive-loop-optimizations]
   11 |         for(int i=5;i<=1001000;i+=3) dp[i]=dp[i-2]*2%N;
      |                                      ~~~~~^~~~~~~~~~~~
/in/foo.cc:11:22: note: within this loop
   11 |         for(int i=5;i<=1001000;i+=3) dp[i]=dp[i-2]*2%N;
      |                     ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 10ms 8.168 MiB
#2 Accepted 10ms 8.164 MiB
#3 Accepted 10ms 8.172 MiB
#4 Accepted 10ms 8.164 MiB
#5 Accepted 10ms 8.176 MiB
#6 Accepted 10ms 8.168 MiB
#7 Accepted 11ms 8.172 MiB
#8 Accepted 13ms 8.16 MiB
#9 Accepted 12ms 8.172 MiB
#10 Accepted 10ms 8.164 MiB

信息

递交者
类型
递交
题目
P3059 拆分 GESP202603 七级T1
比赛
2026.5.24高级班练习
语言
C++
递交时间
2026-05-26 22:01:49
评测时间
2026-05-26 22:01:49
评测机
分数
100
总耗时
111ms
峰值内存
8.176 MiB