/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:20: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations]
    if ( bo[sum[i][j]][j] == 1 )
            ~~~~~~~~^
/in/foo.cc:15:17: note: within this loop
   for (int j=1;j<=3;j++) {
                ~^~~
/in/foo.cc:11:16: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations]
     bo[sum[i][j]][j] ++;
        ~~~~~~~~^
/in/foo.cc:9:17: note: within this loop
   for (int j=1;j<=3;j++) {
                ~^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 328.0 KiB
#2 Accepted 3ms 284.0 KiB
#3 Accepted 3ms 336.0 KiB
#4 Accepted 3ms 204.0 KiB
#5 Accepted 3ms 384.0 KiB
#6 Accepted 3ms 256.0 KiB
#7 Accepted 3ms 344.0 KiB
#8 Accepted 3ms 256.0 KiB
#9 Accepted 3ms 372.0 KiB
#10 Accepted 3ms 384.0 KiB
#11 Accepted 3ms 328.0 KiB
#12 Accepted 3ms 256.0 KiB
#13 Accepted 3ms 256.0 KiB
#14 Accepted 3ms 348.0 KiB
#15 Accepted 3ms 384.0 KiB
#16 Accepted 3ms 260.0 KiB
#17 Accepted 3ms 328.0 KiB
#18 Accepted 1ms 256.0 KiB
#19 Accepted 3ms 328.0 KiB
#20 Accepted 3ms 328.0 KiB

信息

递交者
类型
递交
题目
P1941 猜谜游戏
语言
C++
递交时间
2017-07-16 13:19:09
评测时间
2017-07-16 13:19:09
评测机
分数
100
总耗时
63ms
峰值内存
384.0 KiB