/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int rotate(int, int)':
/in/foo.cc:20:45: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
                 d ^= 1 << 5 * (xx - 1) + yy - 1;
                           ~~~~~~~~~~~~~~~~~~^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:54: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:42:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 301ms 37.871 MiB
#2 Accepted 382ms 37.855 MiB
#3 Accepted 325ms 37.375 MiB
#4 Time Exceeded ≥1001ms ≥37.871 MiB
#5 Time Exceeded ≥1001ms ≥37.875 MiB
#6 Time Exceeded ≥1001ms ≥37.875 MiB
#7 Time Exceeded ≥1001ms ≥37.875 MiB
#8 Time Exceeded ≥1001ms ≥37.879 MiB
#9 Time Exceeded ≥1001ms ≥37.875 MiB
#10 Time Exceeded ≥1002ms ≥37.867 MiB

信息

递交者
类型
递交
题目
P1197 费解的开关
语言
C++
递交时间
2019-11-17 22:35:10
评测时间
2019-11-17 22:35:10
评测机
分数
30
总耗时
≥8021ms
峰值内存
≥37.879 MiB