/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:22:24: warning: iteration 200000 invokes undefined behavior [-Waggressive-loop-optimizations]
  For(i, 1, N) if(!Log[i]) Log[i] = Log[i - 1];
                   ~~~~~^
/in/foo.cc:4:39: note: within this loop
 #define For(i, l, r) for(int i = l; i <= r; ++i)
                                        
/in/foo.cc:22:6:
  For(i, 1, N) if(!Log[i]) Log[i] = Log[i - 1];
      ~~~~~~~                           
/in/foo.cc:22:2: note: in expansion of macro 'For'
  For(i, 1, N) if(!Log[i]) Log[i] = Log[i - 1];
  ^~~
# 状态 耗时 内存占用
#1 Accepted 15ms 7.012 MiB
#2 Accepted 36ms 13.0 MiB
#3 Accepted 26ms 12.875 MiB
#4 Accepted 24ms 15.188 MiB
#5 Accepted 41ms 15.25 MiB
#6 Accepted 76ms 13.75 MiB
#7 Accepted 88ms 17.625 MiB
#8 Accepted 88ms 15.375 MiB
#9 Accepted 93ms 16.75 MiB
#10 Accepted 80ms 17.848 MiB

信息

递交者
类型
递交
题目
P1514 天才的记忆
语言
C++
递交时间
2018-02-10 19:04:12
评测时间
2018-02-10 19:04:12
评测机
分数
100
总耗时
572ms
峰值内存
17.848 MiB