/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void dfs(int, int, int)':
/in/foo.cc:44:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
             if (!k or getState(now, k - 1) ^ 2 and (k < 2 or getState(now, k - 2) ^ 2))
                       ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 220.0 KiB
#2 Accepted 1ms 224.0 KiB
#3 Accepted 26ms 992.0 KiB
#4 Accepted 9ms 988.0 KiB
#5 Accepted 34ms 984.0 KiB
#6 Accepted 51ms 988.0 KiB
#7 Accepted 43ms 988.0 KiB
#8 Accepted 8ms 984.0 KiB
#9 Accepted 3ms 508.0 KiB
#10 Accepted 109ms 984.0 KiB

信息

递交者
类型
递交
题目
P1424 炮兵阵地
语言
C++
递交时间
2021-05-04 12:31:20
评测时间
2021-05-04 12:31:20
评测机
分数
100
总耗时
290ms
峰值内存
992.0 KiB