| Task: | Snakeless path |
| Sender: | Terror2654 |
| Submission time: | 2025-10-20 17:24:37 +0300 |
| Language: | Python3 (PyPy3) |
| Status: | READY |
| Result: | RUNTIME ERROR |
| test | verdict | time | |
|---|---|---|---|
| #1 | RUNTIME ERROR | 0.06 s | details |
| #2 | RUNTIME ERROR | 0.06 s | details |
| #3 | RUNTIME ERROR | 0.06 s | details |
| #4 | RUNTIME ERROR | 0.06 s | details |
| #5 | RUNTIME ERROR | 0.07 s | details |
| #6 | RUNTIME ERROR | 0.06 s | details |
| #7 | RUNTIME ERROR | 0.07 s | details |
| #8 | RUNTIME ERROR | 0.06 s | details |
| #9 | RUNTIME ERROR | 0.07 s | details |
| #10 | RUNTIME ERROR | 0.07 s | details |
| #11 | RUNTIME ERROR | 0.06 s | details |
| #12 | RUNTIME ERROR | 0.06 s | details |
| #13 | RUNTIME ERROR | 0.06 s | details |
| #14 | RUNTIME ERROR | 0.06 s | details |
| #15 | RUNTIME ERROR | 0.07 s | details |
| #16 | RUNTIME ERROR | 0.06 s | details |
| #17 | RUNTIME ERROR | 0.07 s | details |
| #18 | RUNTIME ERROR | 0.07 s | details |
| #19 | RUNTIME ERROR | 0.06 s | details |
| #20 | RUNTIME ERROR | 0.06 s | details |
| #21 | RUNTIME ERROR | 0.06 s | details |
| #22 | RUNTIME ERROR | 0.06 s | details |
| #23 | RUNTIME ERROR | 0.06 s | details |
| #24 | RUNTIME ERROR | 0.06 s | details |
| #25 | RUNTIME ERROR | 0.06 s | details |
| #26 | RUNTIME ERROR | 0.06 s | details |
| #27 | RUNTIME ERROR | 0.06 s | details |
| #28 | RUNTIME ERROR | 0.07 s | details |
| #29 | RUNTIME ERROR | 0.06 s | details |
| #30 | RUNTIME ERROR | 0.06 s | details |
| #31 | RUNTIME ERROR | 0.06 s | details |
| #32 | RUNTIME ERROR | 0.06 s | details |
| #33 | RUNTIME ERROR | 0.06 s | details |
| #34 | RUNTIME ERROR | 0.06 s | details |
| #35 | RUNTIME ERROR | 0.06 s | details |
| #36 | RUNTIME ERROR | 0.06 s | details |
| #37 | RUNTIME ERROR | 0.06 s | details |
| #38 | RUNTIME ERROR | 0.06 s | details |
| #39 | RUNTIME ERROR | 0.06 s | details |
| #40 | RUNTIME ERROR | 0.06 s | details |
| #41 | RUNTIME ERROR | 0.06 s | details |
| #42 | RUNTIME ERROR | 0.06 s | details |
| #43 | RUNTIME ERROR | 0.06 s | details |
| #44 | RUNTIME ERROR | 0.06 s | details |
| #45 | RUNTIME ERROR | 0.06 s | details |
| #46 | RUNTIME ERROR | 0.06 s | details |
| #47 | RUNTIME ERROR | 0.06 s | details |
| #48 | RUNTIME ERROR | 0.06 s | details |
| #49 | RUNTIME ERROR | 0.06 s | details |
| #50 | RUNTIME ERROR | 0.06 s | details |
| #51 | RUNTIME ERROR | 0.06 s | details |
| #52 | RUNTIME ERROR | 0.06 s | details |
| #53 | RUNTIME ERROR | 0.06 s | details |
| #54 | RUNTIME ERROR | 0.06 s | details |
| #55 | RUNTIME ERROR | 0.06 s | details |
| #56 | RUNTIME ERROR | 0.06 s | details |
| #57 | RUNTIME ERROR | 0.06 s | details |
| #58 | RUNTIME ERROR | 0.06 s | details |
| #59 | RUNTIME ERROR | 0.07 s | details |
| #60 | RUNTIME ERROR | 0.06 s | details |
| #61 | RUNTIME ERROR | 0.06 s | details |
| #62 | RUNTIME ERROR | 0.06 s | details |
| #63 | RUNTIME ERROR | 0.06 s | details |
| #64 | RUNTIME ERROR | 0.06 s | details |
| #65 | RUNTIME ERROR | 0.06 s | details |
| #66 | RUNTIME ERROR | 0.06 s | details |
| #67 | RUNTIME ERROR | 0.06 s | details |
| #68 | RUNTIME ERROR | 0.06 s | details |
| #69 | RUNTIME ERROR | 0.06 s | details |
| #70 | RUNTIME ERROR | 0.06 s | details |
| #71 | RUNTIME ERROR | 0.06 s | details |
| #72 | RUNTIME ERROR | 0.06 s | details |
| #73 | RUNTIME ERROR | 0.07 s | details |
| #74 | RUNTIME ERROR | 0.06 s | details |
| #75 | RUNTIME ERROR | 0.06 s | details |
| #76 | RUNTIME ERROR | 0.06 s | details |
| #77 | RUNTIME ERROR | 0.06 s | details |
| #78 | RUNTIME ERROR | 0.06 s | details |
| #79 | RUNTIME ERROR | 0.07 s | details |
| #80 | RUNTIME ERROR | 0.06 s | details |
| #81 | RUNTIME ERROR | 0.07 s | details |
| #82 | RUNTIME ERROR | 0.07 s | details |
| #83 | RUNTIME ERROR | 0.06 s | details |
| #84 | RUNTIME ERROR | 0.06 s | details |
| #85 | RUNTIME ERROR | 0.06 s | details |
| #86 | RUNTIME ERROR | 0.06 s | details |
| #87 | RUNTIME ERROR | 0.06 s | details |
| #88 | RUNTIME ERROR | 0.06 s | details |
| #89 | RUNTIME ERROR | 0.07 s | details |
Code
import sys
sys.setrecursionlimit(10**10)
class Graph:
def __init__(self, nodes):
self.nodes = nodes
self.graph = {node: [] for node in nodes}
def add_edge(self, a, b):
self.graph[a].append(b)
self.graph[b].append(a)
def remove_edge(self, a, b):
self.graph[a].remove(b)
self.graph[b].remove(a)
def bfs_path(self, start, end):
queue = [start]
visited = {start}
parent = {start: None}
idx = 0
while idx < len(queue):
node = queue[idx]
idx += 1
if node == end:
path = []
while node is not None:
path.append(node)
node = parent[node]
return path[::-1]
for neighbor in self.graph[node]:
if neighbor not in visited:
visited.add(neighbor)
parent[neighbor] = node
queue.append(neighbor)
return None
n, m = map(int, input().split())
nodes = list(range(1, n + 1))
g = Graph(nodes)
for i in range(1, n + 1):
for j in range(i + 1, n + 1):
g.add_edge(i, j)
for i in range(m):
a, b = map(int, input().split())
g.remove_edge(a, b)
path = g.bfs_path(1, n)
if path is None:
print(0)
else:
print(len(path))
print(' '.join(map(str, path)))Test details
Test 1
Verdict: RUNTIME ERROR
| input |
|---|
| 2 1 1 2 |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 2
Verdict: RUNTIME ERROR
| input |
|---|
| 3 1 1 3 |
| correct output |
|---|
| 3 1 2 3 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 3
Verdict: RUNTIME ERROR
| input |
|---|
| 3 1 1 3 |
| correct output |
|---|
| 3 1 2 3 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 4
Verdict: RUNTIME ERROR
| input |
|---|
| 3 1 1 3 |
| correct output |
|---|
| 3 1 2 3 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 5
Verdict: RUNTIME ERROR
| input |
|---|
| 4 1 1 4 |
| correct output |
|---|
| 3 1 3 4 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 6
Verdict: RUNTIME ERROR
| input |
|---|
| 4 5 1 2 1 3 1 4 2 3 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 7
Verdict: RUNTIME ERROR
| input |
|---|
| 4 3 1 2 1 3 1 4 |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 8
Verdict: RUNTIME ERROR
| input |
|---|
| 4 2 1 3 2 3 |
| correct output |
|---|
| 2 1 4 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 9
Verdict: RUNTIME ERROR
| input |
|---|
| 4 4 1 2 1 4 2 3 3 4 |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 10
Verdict: RUNTIME ERROR
| input |
|---|
| 5 6 1 2 1 4 1 5 2 5 ... |
| correct output |
|---|
| 5 1 3 2 4 5 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 11
Verdict: RUNTIME ERROR
| input |
|---|
| 5 5 1 2 1 3 1 5 2 5 ... |
| correct output |
|---|
| 3 1 4 5 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 12
Verdict: RUNTIME ERROR
| input |
|---|
| 5 5 1 3 1 4 1 5 3 5 ... |
| correct output |
|---|
| 3 1 2 5 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 13
Verdict: RUNTIME ERROR
| input |
|---|
| 5 6 1 3 1 4 1 5 2 4 ... |
| correct output |
|---|
| 5 1 2 3 4 5 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 14
Verdict: RUNTIME ERROR
| input |
|---|
| 5 9 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 15
Verdict: RUNTIME ERROR
| input |
|---|
| 5 7 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 16
Verdict: RUNTIME ERROR
| input |
|---|
| 5 1 1 5 |
| correct output |
|---|
| 3 1 4 5 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 17
Verdict: RUNTIME ERROR
| input |
|---|
| 5 4 1 2 1 3 1 4 1 5 |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 18
Verdict: RUNTIME ERROR
| input |
|---|
| 5 9 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 19
Verdict: RUNTIME ERROR
| input |
|---|
| 5 4 1 2 1 3 1 4 1 5 |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 20
Verdict: RUNTIME ERROR
| input |
|---|
| 10 16 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 6 1 6 9 8 7 10 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 21
Verdict: RUNTIME ERROR
| input |
|---|
| 10 16 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 5 1 9 8 7 10 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 22
Verdict: RUNTIME ERROR
| input |
|---|
| 10 16 1 2 1 4 1 5 1 6 ... |
| correct output |
|---|
| 10 1 3 9 8 7 6 5 4 2 10 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 23
Verdict: RUNTIME ERROR
| input |
|---|
| 10 16 1 3 1 4 1 5 1 6 ... |
| correct output |
|---|
| 6 1 2 9 8 7 10 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 24
Verdict: RUNTIME ERROR
| input |
|---|
| 10 39 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 25
Verdict: RUNTIME ERROR
| input |
|---|
| 10 17 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 26
Verdict: RUNTIME ERROR
| input |
|---|
| 10 1 1 10 |
| correct output |
|---|
| 3 1 9 10 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 27
Verdict: RUNTIME ERROR
| input |
|---|
| 10 9 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 28
Verdict: RUNTIME ERROR
| input |
|---|
| 10 40 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 29
Verdict: RUNTIME ERROR
| input |
|---|
| 10 9 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 30
Verdict: RUNTIME ERROR
| input |
|---|
| 100 196 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 31 1 60 99 98 97 96 95 94 93 92 9... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 31
Verdict: RUNTIME ERROR
| input |
|---|
| 100 196 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 30 1 99 98 97 96 95 94 93 92 91 9... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 32
Verdict: RUNTIME ERROR
| input |
|---|
| 100 196 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 98 1 20 99 98 97 96 95 94 93 92 9... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 33
Verdict: RUNTIME ERROR
| input |
|---|
| 100 196 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 32 1 8 99 98 97 96 95 94 93 92 91... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 34
Verdict: RUNTIME ERROR
| input |
|---|
| 100 4910 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 35
Verdict: RUNTIME ERROR
| input |
|---|
| 100 197 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 36
Verdict: RUNTIME ERROR
| input |
|---|
| 100 248 1 8 1 29 1 53 1 61 ... |
| correct output |
|---|
| 3 1 99 100 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 37
Verdict: RUNTIME ERROR
| input |
|---|
| 100 99 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 38
Verdict: RUNTIME ERROR
| input |
|---|
| 100 4888 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 39
Verdict: RUNTIME ERROR
| input |
|---|
| 100 99 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 40
Verdict: RUNTIME ERROR
| input |
|---|
| 200 396 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 60 1 119 199 198 197 196 195 194 ... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 41
Verdict: RUNTIME ERROR
| input |
|---|
| 200 396 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 58 1 199 198 197 196 195 194 193 ... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 42
Verdict: RUNTIME ERROR
| input |
|---|
| 200 396 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 195 1 38 199 198 197 196 195 194 1... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 43
Verdict: RUNTIME ERROR
| input |
|---|
| 200 396 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 61 1 16 199 198 197 196 195 194 1... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 44
Verdict: RUNTIME ERROR
| input |
|---|
| 200 19807 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 45
Verdict: RUNTIME ERROR
| input |
|---|
| 200 397 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 46
Verdict: RUNTIME ERROR
| input |
|---|
| 200 994 1 8 1 29 1 53 1 61 ... |
| correct output |
|---|
| 3 1 199 200 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 47
Verdict: RUNTIME ERROR
| input |
|---|
| 200 199 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 48
Verdict: RUNTIME ERROR
| input |
|---|
| 200 19792 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 49
Verdict: RUNTIME ERROR
| input |
|---|
| 200 199 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 50
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 1996 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 288 1 593 999 998 997 996 995 994 ... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 51
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 1996 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 282 1 997 999 998 996 995 994 993 ... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 52
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 1996 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 975 1 186 999 998 997 996 995 994 ... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 53
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 1996 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 295 1 72 999 998 997 996 995 994 9... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 54
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 299999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 3 1 691 1000 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 55
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 1997 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 56
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 25751 1 8 1 29 1 53 1 61 ... |
| correct output |
|---|
| 4 1 999 998 1000 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 57
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 58
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 299999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 3 1 832 1000 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 59
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 60
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 299999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 3 1 999 1000 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 61
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 999 1 1000 2 1000 3 1000 4 1000 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 62
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 999 1 1000 2 1000 3 1000 4 1000 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 63
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 195765 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 4 1 999 997 1000 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 64
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 1996 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 229 1 922 999 998 997 996 995 994 ... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 65
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 92979 1 6 1 8 1 12 1 18 ... |
| correct output |
|---|
| 2 1 1000 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 66
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 1997 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 67
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 1997 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 68
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 299999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 3 1 885 1000 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 69
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 70
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 199996 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 28483 1 59286 99999 99998 99997 9999... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 71
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 199996 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 27969 1 99719 99999 99998 99997 9999... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 72
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 199996 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 97408 1 18510 99999 99998 99997 9999... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 73
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 199996 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 29187 1 7074 99999 99998 99997 99996... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 74
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 270197 1 861 1 12080 1 39541 1 39686 ... |
| correct output |
|---|
| 3 1 99999 100000 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 75
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 199997 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 76
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 284253 1 23553 1 48406 1 56616 1 56899 ... |
| correct output |
|---|
| 2 1 100000 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 77
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 99999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 78
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 3335 1 100000 11 26761 12 80933 41 44903 ... |
| correct output |
|---|
| 3 1 99999 100000 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 79
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 99999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 80
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 89632 1 76350 1 97733 1 100000 2 16314 ... |
| correct output |
|---|
| 3 1 99999 100000 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 81
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 99999 1 100000 2 100000 3 100000 4 100000 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 82
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 99999 1 100000 2 100000 3 100000 4 100000 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 83
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 182210 1 17827 1 55463 1 98875 1 100000 ... |
| correct output |
|---|
| 3 1 99999 100000 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 84
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 199996 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 22685 1 92190 99999 99998 99997 9999... |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 85
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 244084 1 33037 1 48376 1 94522 1 100000 ... |
| correct output |
|---|
| 3 1 99999 100000 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 86
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 199997 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 87
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 199997 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 88
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 22805 1 100000 2 29973 7 38479 7 77260 ... |
| correct output |
|---|
| 3 1 99999 100000 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integerTest 89
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 99999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
Traceback (most recent call last):
File "input/code.py", line 2, in <module>
sys.setrecursionlimit(10**10)
OverflowError: expected a 32-bit integer