/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int rotate(int, int)':
/in/foo.cc:19:45: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
                 d ^= 1 << 5 * (xx - 1) + yy - 1;
                           ~~~~~~~~~~~~~~~~~~^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:53:62: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
                 if(t[j - 1] - '0') s |= 1 << (i - 1) * 5 + j - 1;
                                              ~~~~~~~~~~~~~~~~^~~
/in/foo.cc: In function 'int BFS()':
/in/foo.cc:41:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 798ms 36.07 MiB
#2 Time Exceeded ≥1001ms ≥36.062 MiB
#3 Accepted 909ms 35.738 MiB
#4 Time Exceeded ≥1001ms ≥36.07 MiB
#5 Time Exceeded ≥1001ms ≥36.078 MiB
#6 Time Exceeded ≥1001ms ≥36.078 MiB
#7 Time Exceeded ≥1001ms ≥36.066 MiB
#8 Time Exceeded ≥1000ms ≥36.074 MiB
#9 Time Exceeded ≥1001ms ≥36.066 MiB
#10 Time Exceeded ≥1001ms ≥36.078 MiB

信息

递交者
类型
递交
题目
P1197 费解的开关
语言
C++
递交时间
2019-11-17 22:33:14
评测时间
2019-11-17 22:33:14
评测机
分数
20
总耗时
≥9717ms
峰值内存
≥36.078 MiB