/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:24: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations]
     tmp[j+1] = (tmp[j+1]^i)&((1<<5)-1);
                 ~~~~~~~^
/in/foo.cc:16:21: note: within this loop
    for (int j = 1;j <= 5;i = tmp[j],j++) {
                   ~~^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 196.0 KiB
#2 Accepted 1ms 192.0 KiB
#3 Accepted 1ms 196.0 KiB
#4 Accepted 3ms 192.0 KiB
#5 Accepted 3ms 196.0 KiB
#6 Accepted 2ms 192.0 KiB
#7 Accepted 3ms 196.0 KiB
#8 Accepted 2ms 192.0 KiB
#9 Accepted 2ms 196.0 KiB
#10 Accepted 3ms 192.0 KiB

信息

递交者
类型
递交
题目
P1197 费解的开关
语言
C++
递交时间
2018-12-15 22:00:29
评测时间
2018-12-15 22:00:40
评测机
分数
100
总耗时
26ms
峰值内存
196.0 KiB