/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void build_graph()':
/in/foo.cc:75:32: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
   75 |                         if ((i + j & 1) == 1) {
      |                              ~~^~~
/in/foo.cc: In function 'bool judge(long long int)':
/in/foo.cc:152:32: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
  152 |                         if ((i + j & 1) == 1) init(st, i * m + j, tot - Gmap[i][j]);
      |                              ~~^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 468.0 KiB
#2 Wrong Answer 27ms 2.727 MiB
#3 Wrong Answer 20ms 2.68 MiB
#4 Runtime Error 374ms 28.336 MiB
#5 Runtime Error 370ms 28.344 MiB
#6 Runtime Error 333ms 28.336 MiB
#7 Runtime Error 295ms 28.062 MiB
#8 Runtime Error 352ms 28.043 MiB
#9 Runtime Error 336ms 27.949 MiB
#10 Runtime Error 307ms 28.242 MiB

信息

递交者
类型
递交
题目
P1940 奇怪的游戏
语言
C++
递交时间
2025-06-06 22:42:26
评测时间
2025-06-06 22:42:26
评测机
分数
10
总耗时
2420ms
峰值内存
28.344 MiB