Time Exceeded
foo.cc: In function 'void solve()': foo.cc:12:20: warning: iteration 50003 invokes undefined behavior [-Waggressive-loop-optimizations] if(!prime[i]) ~~~~~~~^ foo.cc:10:22: note: within this loop for(int i = 2; i <= N; i++) ~~^~~~ foo.cc:23:17: warning: iteration 50003 invokes undefined behavior [-Waggressive-loop-optimizations] prime[i]+=prime[i-1]; ~~~~~~~~^~~~~~~~~~~~ foo.cc:22:22: note: within this loop for(int i = 2; i <= N; i++) ~~^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1209 C3 互质数的对数
- 比赛
- 2020苏青奥赛集训营(2021-1-30课堂小练)
- 语言
- C++
- 递交时间
- 2021-01-30 12:26:45
- 评测时间
- 2021-01-30 12:26:45
- 评测机
- 分数
- 0
- 总耗时
- ≥7336ms
- 峰值内存
- ≥636.0 KiB