Accepted

/in/foo.cc: In function 'void BFS()':
/in/foo.cc:24:47: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
             if(y<3 && (tmp&(1<<i))!=(tmp&(1<<i-1)))   //向右交换,二进制序列的i和i-1交换
                                              ~^~
/in/foo.cc:26:23: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
                 z=1<<i-1;
                      ~^~
/in/foo.cc:32:47: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
             if(x<3 && (tmp&(1<<i))!=(tmp&(1<<i-4)))  //向下交换,二进制序列的i和i-4交换
                                              ~^~
/in/foo.cc:34:23: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
                 z=1<<i-4;
                      ~^~
# 状态 耗时 内存占用
#1 Accepted 1ms 480.0 KiB
#2 Accepted 1ms 216.0 KiB
#3 Accepted 1ms 476.0 KiB
#4 Accepted 2ms 520.0 KiB
#5 Accepted 3ms 608.0 KiB
#6 Accepted 2ms 568.0 KiB
#7 Accepted 3ms 516.0 KiB
#8 Accepted 3ms 472.0 KiB
#9 Accepted 3ms 480.0 KiB
#10 Accepted 3ms 468.0 KiB

信息

递交者
类型
递交
题目
「一本通 1.4 练习 1」棋盘游戏
语言
C++
递交时间
2019-08-27 18:20:28
评测时间
2019-08-27 18:20:28
评测机
分数
100
总耗时
28ms
峰值内存
608.0 KiB