정답 개수:
0
틀린 개수:
2
실행 실패 개수:
8
11 56 1 1 0 1 1 1 0 1 1 0 1 0 1 0 0 0 0 0 0 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 1 1 1 0 1 1 1 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 1 0 0 0 0 1 1 1 1 1 1 0 0 1 0 1 1 0 1 1 1 1 0 1 0 0 1 0 0 0 1 0 1 0 0 1 1 0 1 1 1 0 1 1 0 0 1 0 0 0 1 1 1 0 1 1 1 1 1 1 0 1 0 1 1 0 1 0 0 1 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 0 1 1 0 0 1 0 0 1 1 0 0 0 1 0 1 0 1 0 1 0 1 1 0 0 1 0 1 1 0 1 0 0 0 0 1 0 1 0 0 0 1 1 0 1 1 0 1 0 1 0 1 1 0 1 1 0 0 1 1 0 1 1 1 0 0 1 0 1 0 1 0 0 1 0 1 1 1 1 1 0 1 1 1 1 0 1 1 0 0 1 1 0 1 1 1 0 1 1 1 1 0 1 0 1 0 (...truncated, total 1237 characters)
495 494 473 472 451 450 429 428 407 406 385 384 363 362 341 340 319 318 297 296 275 274 253 252 231 230 209 208 187 186 165 164 143 142 121 120 99 98 77 76 55 54 33 32 11 10 11 32 33 54 55 76 77 98 99 120 496 493 474 471 452 449 430 427 408 405 386 383 364 361 342 339 320 317 298 295 276 273 254 251 232 229 210 207 188 185 166 163 144 141 122 119 100 97 78 75 56 53 34 31 12 9 12 31 34 53 56 75 78 97 100 119 497 492 475 470 453 448 431 426 409 404 387 382 365 360 343 338 321 316 299 294 277 272 2(...truncated, total 2264 characters)
-1 -1 0 -1 -1 -1 0 -1 -1 0 -1 0 -1 0 0 0 0 0 0 -1 0 0 -1 -1 0 0 -1 0 -1 0 -1 0 -1 0 -1 -1 -1 0 -1 -1 -1 0 0 0 0 0 0 0 0 0 -1 -1 0 -1 0 0 -1 0 0 0 0 -1 -1 -1 -1 -1 -1 0 0 -1 0 -1 -1 0 -1 -1 -1 -1 0 -1 0 0 -1 0 0 0 -1 0 -1 0 0 -1 -1 0 -1 -1 -1 0 -1 -1 0 0 -1 0 0 0 -1 -1 -1 0 -1 -1 -1 -1 -1 -1 0 -1 0 -1 -1 0 -1 0 0 -1 -1 0 -1 0 -1 0 -1 0 0 0 0 -1 0 -1 0 0 -1 -1 0 0 -1 0 0 -1 -1 0 0 0 -1 0 -1 0 -1 0 -1 0 -1 -1 0 0 -1 0 -1 -1 0 -1 0 0 0 0 -1 0 -1 0 0 0 -1 -1 0 -1 -1 0 -1 0 -1 0 -1 -1 0 -1 -1 0 0 -1 -(...truncated, total 1558 characters)
21 35 0 1 1 1 0 0 1 0 0 1 0 1 1 1 1 0 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 1 1 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 1 1 1 0 1 0 1 1 0 1 1 1 1 0 1 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 0 1 0 0 0 1 1 0 0 0 0 0 0 1 1 0 1 1 0 0 0 1 1 0 1 0 1 0 1 0 0 1 0 1 1 0 0 0 1 1 1 1 0 0 0 1 1 1 1 0 1 1 1 0 0 0 1 1 0 0 0 1 0 0 1 0 0 0 0 0 1 1 1 1 0 1 0 0 1 0 1 1 0 0 0 0 0 1 1 0 0 1 0 0 0 1 1 1 1 1 1 0 1 0 1 0 0 1 0 0 0 0 1 1 0 1 0 1 0 1 0 1 1 0 0 1 1 0 1 0 0 1 1 1 0 0 1 1 1 1 1 1 0 0 1 0 (...truncated, total 1475 characters)
193 192 151 150 109 108 67 66 67 24 23 24 65 66 107 108 149 150 191 192 233 234 275 276 317 318 359 360 401 402 443 444 485 486 527 194 191 152 149 110 107 68 65 68 25 22 25 64 67 106 109 148 151 190 193 232 235 274 277 316 319 358 361 400 403 442 445 484 487 526 195 190 153 148 111 106 69 64 69 26 21 26 63 68 105 110 147 152 189 194 231 236 273 278 315 320 357 362 399 404 441 446 483 488 525 196 189 154 147 112 105 70 63 70 27 20 27 62 69 104 111 146 153 188 195 230 237 272 279 314 321 356 363 (...truncated, total 2736 characters)
0 -1 -1 -1 0 0 -1 0 0 -1 0 -1 -1 -1 -1 0 -1 0 -1 0 -1 -1 -1 0 -1 0 -1 -1 -1 0 -1 -1 -1 -1 0 -1 0 0 0 -1 0 0 0 0 0 0 0 0 0 -1 0 -1 0 -1 -1 -1 0 -1 0 -1 -1 0 -1 -1 -1 -1 0 -1 -1 -1 0 0 0 0 0 0 -1 0 0 0 0 0 0 0 -1 -1 -1 0 0 0 0 -1 -1 -1 -1 0 0 0 0 -1 -1 0 -1 0 0 0 -1 -1 0 0 0 0 0 0 -1 -1 0 -1 -1 0 0 0 -1 -1 0 -1 0 -1 0 -1 0 0 -1 0 -1 -1 0 0 0 -1 -1 -1 -1 0 0 0 -1 -1 -1 -1 0 -1 -1 -1 0 0 0 -1 -1 0 0 0 -1 0 0 -1 0 0 0 0 0 -1 -1 -1 -1 0 -1 0 0 -1 0 -1 -1 0 0 0 0 0 -1 -1 0 0 -1 0 0 0 -1 -1 -1 -1 -1 -1 (...truncated, total 1817 characters)
34 48 1 0 1 1 0 1 1 0 0 1 1 0 0 0 1 1 1 0 0 1 1 0 0 1 0 0 0 0 1 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 1 0 1 0 1 0 0 0 0 1 0 0 0 1 1 1 0 1 1 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 0 0 0 1 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 1 1 1 1 0 0 0 0 1 1 0 0 1 0 1 0 0 0 0 1 1 1 0 0 1 1 1 0 0 0 1 0 1 1 0 0 0 0 1 1 0 1 0 1 0 0 1 0 1 1 1 1 1 0 0 1 0 1 0 1 1 1 0 1 0 1 0 0 1 1 1 0 0 1 1 0 1 1 0 1 0 1 1 0 1 0 0 0 1 1 1 0 0 0 0 0 1 1 1 0 0 0 0 1 0 2 1 1 1 1 0 0 1 1 0 0 0 0 1 1 1 1 1 1 1 0 1 1 1 (...truncated, total 3269 characters)
런타임 에러 (RTE)
stderr:
Traceback (most recent call last): File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 27, in <module> getans() File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 20, in getans dfs(startx,starty,ver,hor,visited,grid,val) File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 8, in dfs dfs(x+dx,y+dy,ver,hor,visited,grid,val+1) File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 8, in dfs dfs(x+dx,y+dy,ver,hor,visited,grid,val+1) File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 8, in dfs dfs(x+dx,y+dy,ver,hor,visited,grid,val+1) [Previous line repeated 993 more times] File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 4, in dfs grid[x][y]=str(val) if val!='1' else '-2' RecursionError: maximum recursion depth exceeded while getting the str of an object
-1 0 -1 -1 0 -1 -1 0 0 -1 -1 0 0 0 -1 -1 -1 0 0 -1 -1 0 0 -1 0 0 0 0 -1 0 0 -1 -1 0 -1 0 0 -1 -1 0 -1 -1 -1 -1 0 0 -1 -1 -1 -1 0 -1 0 -1 0 0 0 0 -1 0 0 0 -1 -1 -1 0 -1 -1 0 0 -1 0 -1 0 0 0 0 0 0 0 -1 0 0 0 0 -1 -1 -1 -1 0 0 0 0 -1 -1 0 0 0 -1 0 -1 0 0 0 -1 0 0 -1 0 0 0 0 -1 0 0 -1 0 0 -1 -1 -1 -1 0 0 0 0 3 2 0 0 5 0 -1 0 0 0 0 -1 -1 -1 0 0 -1 -1 -1 0 0 0 -1 0 -1 -1 0 0 0 0 -1 -1 0 -1 0 -1 0 0 -1 0 -1 -1 -1 -1 -1 0 0 5 0 1 0 3 4 5 0 -1 0 13 0 0 -1 -1 -1 0 0 -1 -1 0 -1 -1 0 -1 0 -1 -1 0 -1 0 0 0 -(...truncated, total 4060 characters)
32 52 1 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 1 0 1 0 1 0 0 0 1 1 0 1 1 1 1 1 0 0 1 1 0 0 1 0 0 0 0 1 0 1 0 0 0 1 0 1 0 0 0 0 1 0 1 1 1 0 0 0 1 1 0 1 1 1 1 1 0 1 1 0 0 0 1 1 1 0 1 1 1 0 0 0 0 1 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 1 0 0 1 0 1 1 0 0 0 0 1 0 0 1 1 1 0 1 0 1 1 0 0 0 0 1 0 0 0 1 1 0 1 1 0 1 1 0 1 0 0 1 1 1 0 1 0 1 1 1 1 0 0 1 1 1 1 1 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 1 0 0 1 1 0 1 1 1 0 0 0 0 1 0 1 0 0 0 1 0 0 0 1 0 0 1 0 1 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 0 0 0 0 0 (...truncated, total 3333 characters)
런타임 에러 (RTE)
stderr:
Traceback (most recent call last): File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 27, in <module> getans() File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 20, in getans dfs(startx,starty,ver,hor,visited,grid,val) File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 8, in dfs dfs(x+dx,y+dy,ver,hor,visited,grid,val+1) File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 8, in dfs dfs(x+dx,y+dy,ver,hor,visited,grid,val+1) File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 8, in dfs dfs(x+dx,y+dy,ver,hor,visited,grid,val+1) [Previous line repeated 993 more times] File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 4, in dfs grid[x][y]=str(val) if val!='1' else '-2' RecursionError: maximum recursion depth exceeded while getting the str of an object
-1 0 0 0 0 0 -1 0 -1 -1 -1 0 0 0 0 -1 -1 -1 -1 0 -1 0 -1 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 0 0 -1 -1 0 0 -1 0 0 0 0 -1 0 -1 0 0 0 -1 0 -1 0 0 0 0 -1 0 -1 -1 -1 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 0 -1 -1 0 0 0 -1 -1 -1 0 -1 -1 -1 0 0 0 0 -1 -1 0 -1 0 0 -1 0 -1 0 0 -1 0 0 -1 0 -1 0 0 -1 0 -1 -1 0 0 0 0 -1 0 0 -1 -1 -1 0 -1 0 -1 -1 0 0 0 0 -1 0 0 0 -1 -1 0 -1 -1 0 -1 -1 0 -1 0 0 -1 -1 -1 0 -1 0 -1 -1 -1 -1 0 0 -1 -1 -1 -1 -1 -1 0 0 0 -1 0 -1 0 -1 -1 0 0 -1 -1 -1 0 0 -1 0 -1 -1 -1 0 0 0 0 0 -1 -1 0 0 0 -1 0 0 (...truncated, total 4147 characters)
92 22 0 0 1 1 0 1 0 0 0 1 1 0 0 1 1 0 0 1 0 1 1 1 1 1 0 1 0 0 0 1 1 1 1 1 0 1 0 0 0 1 1 1 0 0 0 1 1 0 0 0 1 0 0 0 0 0 1 1 1 0 0 0 1 0 0 0 1 0 1 1 1 0 0 1 0 0 1 1 1 1 0 0 1 0 0 1 1 1 1 1 0 1 1 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1 1 1 1 0 1 1 0 0 0 0 1 0 0 0 1 1 1 0 1 0 1 0 0 1 0 0 0 0 1 0 0 0 1 0 1 0 1 1 1 1 0 1 0 0 0 1 1 0 1 1 1 0 0 1 1 1 1 0 0 0 0 0 0 1 1 0 1 0 0 1 0 0 1 1 1 0 0 0 1 1 1 0 1 0 0 1 1 0 1 1 0 0 1 1 0 1 0 1 1 0 0 1 1 0 0 1 0 0 1 0 1 1 1 0 1 1 1 1 1 1 0 1 1 0 1 1 0 1 0 1 1 0 0 0 1 0 0 0 (...truncated, total 4053 characters)
런타임 에러 (RTE)
stderr:
Traceback (most recent call last): File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 27, in <module> getans() File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 20, in getans dfs(startx,starty,ver,hor,visited,grid,val) File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 8, in dfs dfs(x+dx,y+dy,ver,hor,visited,grid,val+1) File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 8, in dfs dfs(x+dx,y+dy,ver,hor,visited,grid,val+1) File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 8, in dfs dfs(x+dx,y+dy,ver,hor,visited,grid,val+1) [Previous line repeated 993 more times] File "/tmp/compile/d8a0ef94b9f9457e04e1d92686f45f581009074f344295c747b3a7d991334d9e/Main.py", line 4, in dfs grid[x][y]=str(val) if val!='1' else '-2' RecursionError: maximum recursion depth exceeded while getting the str of an object
0 0 -1 -1 0 -1 0 0 0 -1 -1 0 0 -1 -1 0 0 -1 0 -1 -1 -1 -1 -1 0 -1 0 0 0 -1 -1 -1 -1 -1 0 -1 0 0 0 -1 -1 -1 0 0 0 -1 -1 0 0 0 -1 0 0 0 0 0 -1 -1 -1 0 0 0 -1 0 0 0 -1 0 -1 -1 -1 0 0 -1 0 0 -1 -1 -1 -1 0 0 -1 0 0 -1 -1 -1 -1 -1 0 -1 -1 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 -1 0 -1 -1 -1 -1 0 -1 -1 0 0 0 0 -1 0 0 0 -1 -1 -1 0 -1 0 -1 0 0 -1 0 0 0 0 -1 0 0 0 -1 0 -1 0 -1 -1 -1 -1 0 -1 0 0 0 -1 -1 0 -1 -1 -1 0 0 -1 -1 -1 -1 0 0 0 0 0 0 -1 -1 0 -1 0 0 -1 0 0 -1 -1 -1 0 0 0 -1 -1 -1 0 -1 0 0 -1 -1 0 -1 -1 0 0 -1(...truncated, total 5028 characters)