/ new_bzoj /

记录详情

Accepted

/in/foo.cc: In function 'void init()':
/in/foo.cc:32:53: warning: iteration 50009 invokes undefined behavior [-Waggressive-loop-optimizations]
  for(int i = 1; i <= N; i ++) s[i] = s[i - 1] + mu[i];
                                                 ~~~~^
/in/foo.cc:32:19: note: within this loop
  for(int i = 1; i <= N; i ++) s[i] = s[i - 1] + mu[i];
                 ~~^~~~
/in/foo.cc:17:12: warning: iteration 50008 invokes undefined behavior [-Waggressive-loop-optimizations]
   if (!st[i]) {
        ~~~~^
/in/foo.cc:16:20: note: within this loop
  for (int i = 2; i <= N; i ++) {
                  ~~^~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 720.0 KiB

信息

递交者
类型
自测
题目
Zap
语言
C++
递交时间
2021-05-03 22:17:48
评测时间
2021-05-03 22:17:48
评测机
分数
10
总耗时
2ms
峰值内存
720.0 KiB