/ 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 110ms 34.406 MiB
#2 Accepted 133ms 34.371 MiB
#3 Accepted 117ms 34.055 MiB
#4 Time Exceeded ≥1001ms ≥34.41 MiB
#5 Time Exceeded ≥1000ms ≥34.418 MiB
#6 Time Exceeded ≥1001ms ≥34.414 MiB
#7 Time Exceeded ≥1000ms ≥34.414 MiB
#8 Time Exceeded ≥1001ms ≥34.41 MiB
#9 Time Exceeded ≥1000ms ≥34.406 MiB
#10 Time Exceeded ≥1002ms ≥34.414 MiB

信息

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