| Task: | Snakeless path |
| Sender: | luukwin |
| Submission time: | 2025-10-20 17:47:49 +0300 |
| Language: | Python3 (PyPy3) |
| Status: | READY |
| Result: | WRONG ANSWER |
| test | verdict | time | |
|---|---|---|---|
| #1 | ACCEPTED | 0.04 s | details |
| #2 | WRONG ANSWER | 0.04 s | details |
| #3 | WRONG ANSWER | 0.04 s | details |
| #4 | WRONG ANSWER | 0.04 s | details |
| #5 | ACCEPTED | 0.04 s | details |
| #6 | ACCEPTED | 0.04 s | details |
| #7 | ACCEPTED | 0.04 s | details |
| #8 | ACCEPTED | 0.04 s | details |
| #9 | ACCEPTED | 0.04 s | details |
| #10 | WRONG ANSWER | 0.04 s | details |
| #11 | ACCEPTED | 0.04 s | details |
| #12 | WRONG ANSWER | 0.05 s | details |
| #13 | WRONG ANSWER | 0.04 s | details |
| #14 | ACCEPTED | 0.04 s | details |
| #15 | ACCEPTED | 0.04 s | details |
| #16 | ACCEPTED | 0.04 s | details |
| #17 | ACCEPTED | 0.04 s | details |
| #18 | ACCEPTED | 0.04 s | details |
| #19 | ACCEPTED | 0.04 s | details |
| #20 | WRONG ANSWER | 0.04 s | details |
| #21 | ACCEPTED | 0.05 s | details |
| #22 | WRONG ANSWER | 0.04 s | details |
| #23 | WRONG ANSWER | 0.04 s | details |
| #24 | ACCEPTED | 0.04 s | details |
| #25 | ACCEPTED | 0.04 s | details |
| #26 | ACCEPTED | 0.04 s | details |
| #27 | ACCEPTED | 0.04 s | details |
| #28 | ACCEPTED | 0.04 s | details |
| #29 | ACCEPTED | 0.04 s | details |
| #30 | WRONG ANSWER | 0.06 s | details |
| #31 | ACCEPTED | 0.06 s | details |
| #32 | WRONG ANSWER | 0.06 s | details |
| #33 | WRONG ANSWER | 0.06 s | details |
| #34 | ACCEPTED | 0.09 s | details |
| #35 | ACCEPTED | 0.05 s | details |
| #36 | WRONG ANSWER | 0.08 s | details |
| #37 | ACCEPTED | 0.05 s | details |
| #38 | ACCEPTED | 0.09 s | details |
| #39 | ACCEPTED | 0.05 s | details |
| #40 | WRONG ANSWER | 0.09 s | details |
| #41 | ACCEPTED | 0.09 s | details |
| #42 | WRONG ANSWER | 0.09 s | details |
| #43 | WRONG ANSWER | 0.09 s | details |
| #44 | ACCEPTED | 0.10 s | details |
| #45 | ACCEPTED | 0.05 s | details |
| #46 | WRONG ANSWER | 0.12 s | details |
| #47 | ACCEPTED | 0.05 s | details |
| #48 | ACCEPTED | 0.10 s | details |
| #49 | ACCEPTED | 0.05 s | details |
| #50 | TIME LIMIT EXCEEDED | -- | details |
| #51 | TIME LIMIT EXCEEDED | -- | details |
| #52 | TIME LIMIT EXCEEDED | -- | details |
| #53 | TIME LIMIT EXCEEDED | -- | details |
| #54 | WRONG ANSWER | 1.80 s | details |
| #55 | ACCEPTED | 0.11 s | details |
| #56 | TIME LIMIT EXCEEDED | -- | details |
| #57 | ACCEPTED | 0.08 s | details |
| #58 | WRONG ANSWER | 1.80 s | details |
| #59 | ACCEPTED | 0.09 s | details |
| #60 | TIME LIMIT EXCEEDED | -- | details |
| #61 | TIME LIMIT EXCEEDED | -- | details |
| #62 | TIME LIMIT EXCEEDED | -- | details |
| #63 | TIME LIMIT EXCEEDED | -- | details |
| #64 | TIME LIMIT EXCEEDED | -- | details |
| #65 | TIME LIMIT EXCEEDED | -- | details |
| #66 | ACCEPTED | 0.11 s | details |
| #67 | ACCEPTED | 0.11 s | details |
| #68 | WRONG ANSWER | 1.80 s | details |
| #69 | ACCEPTED | 0.08 s | details |
| #70 | RUNTIME ERROR | 1.16 s | details |
| #71 | RUNTIME ERROR | 1.16 s | details |
| #72 | RUNTIME ERROR | 1.19 s | details |
| #73 | RUNTIME ERROR | 1.16 s | details |
| #74 | RUNTIME ERROR | 1.19 s | details |
| #75 | RUNTIME ERROR | 1.19 s | details |
| #76 | RUNTIME ERROR | 1.16 s | details |
| #77 | RUNTIME ERROR | 1.17 s | details |
| #78 | RUNTIME ERROR | 1.20 s | details |
| #79 | RUNTIME ERROR | 1.17 s | details |
| #80 | RUNTIME ERROR | 1.19 s | details |
| #81 | RUNTIME ERROR | 1.20 s | details |
| #82 | RUNTIME ERROR | 1.19 s | details |
| #83 | RUNTIME ERROR | 1.16 s | details |
| #84 | RUNTIME ERROR | 1.17 s | details |
| #85 | RUNTIME ERROR | 1.17 s | details |
| #86 | RUNTIME ERROR | 1.16 s | details |
| #87 | RUNTIME ERROR | 1.20 s | details |
| #88 | RUNTIME ERROR | 1.16 s | details |
| #89 | RUNTIME ERROR | 1.19 s | details |
Code
n, m = [int(x) for x in input().split()]
connections = [[i for i in range(n) if i != j] for j in range(n)]
for i in range(m):
a, b = [int(x) - 1 for x in input().split()]
connections[a].remove(b)
connections[b].remove(a)
visited = [False for _ in range(n)]
route = []
found = False
# print(connections)
def dfs(node):
global found
if visited[node]:
if route[-1] == node: route.pop(-1)
return
route.append(node + 1)
visited[node] = True
for child in connections[node]:
if child == n - 1:
route.append(n)
print(len(route))
print(*route)
found = True
return
elif child not in visited:
dfs(child)
# route.pop()
dfs(0)
# if found: print(allPaths)
if not found: print(0)Test details
Test 1
Verdict: ACCEPTED
| input |
|---|
| 2 1 1 2 |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 2
Verdict: WRONG ANSWER
| input |
|---|
| 3 1 1 3 |
| correct output |
|---|
| 3 1 2 3 |
| user output |
|---|
| 0 |
Test 3
Verdict: WRONG ANSWER
| input |
|---|
| 3 1 1 3 |
| correct output |
|---|
| 3 1 2 3 |
| user output |
|---|
| 0 |
Test 4
Verdict: WRONG ANSWER
| input |
|---|
| 3 1 1 3 |
| correct output |
|---|
| 3 1 2 3 |
| user output |
|---|
| 0 |
Test 5
Verdict: ACCEPTED
| input |
|---|
| 4 1 1 4 |
| correct output |
|---|
| 3 1 3 4 |
| user output |
|---|
| 3 1 3 4 |
Test 6
Verdict: ACCEPTED
| input |
|---|
| 4 5 1 2 1 3 1 4 2 3 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 7
Verdict: ACCEPTED
| input |
|---|
| 4 3 1 2 1 3 1 4 |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 8
Verdict: ACCEPTED
| input |
|---|
| 4 2 1 3 2 3 |
| correct output |
|---|
| 2 1 4 |
| user output |
|---|
| 2 1 4 |
Test 9
Verdict: ACCEPTED
| input |
|---|
| 4 4 1 2 1 4 2 3 3 4 |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 10
Verdict: WRONG ANSWER
| input |
|---|
| 5 6 1 2 1 4 1 5 2 5 ... |
| correct output |
|---|
| 5 1 3 2 4 5 |
| user output |
|---|
| 0 |
Test 11
Verdict: ACCEPTED
| input |
|---|
| 5 5 1 2 1 3 1 5 2 5 ... |
| correct output |
|---|
| 3 1 4 5 |
| user output |
|---|
| 3 1 4 5 |
Test 12
Verdict: WRONG ANSWER
| input |
|---|
| 5 5 1 3 1 4 1 5 3 5 ... |
| correct output |
|---|
| 3 1 2 5 |
| user output |
|---|
| 0 |
Test 13
Verdict: WRONG ANSWER
| input |
|---|
| 5 6 1 3 1 4 1 5 2 4 ... |
| correct output |
|---|
| 5 1 2 3 4 5 |
| user output |
|---|
| 0 |
Test 14
Verdict: ACCEPTED
| input |
|---|
| 5 9 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 15
Verdict: ACCEPTED
| input |
|---|
| 5 7 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 16
Verdict: ACCEPTED
| input |
|---|
| 5 1 1 5 |
| correct output |
|---|
| 3 1 4 5 |
| user output |
|---|
| 4 1 3 4 5 5 1 3 4 5 5 |
Test 17
Verdict: ACCEPTED
| input |
|---|
| 5 4 1 2 1 3 1 4 1 5 |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 18
Verdict: ACCEPTED
| input |
|---|
| 5 9 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 19
Verdict: ACCEPTED
| input |
|---|
| 5 4 1 2 1 3 1 4 1 5 |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 20
Verdict: WRONG ANSWER
| input |
|---|
| 10 16 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 6 1 6 9 8 7 10 |
| user output |
|---|
| 8 1 6 3 4 7 8 9 10 |
Test 21
Verdict: ACCEPTED
| input |
|---|
| 10 16 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 5 1 9 8 7 10 |
| user output |
|---|
| 8 1 9 3 4 5 6 7 10 |
Test 22
Verdict: WRONG ANSWER
| 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 |
|---|
| 0 |
Test 23
Verdict: WRONG ANSWER
| input |
|---|
| 10 16 1 3 1 4 1 5 1 6 ... |
| correct output |
|---|
| 6 1 2 9 8 7 10 |
| user output |
|---|
| 0 |
Test 24
Verdict: ACCEPTED
| input |
|---|
| 10 39 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 25
Verdict: ACCEPTED
| input |
|---|
| 10 17 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 26
Verdict: ACCEPTED
| input |
|---|
| 10 1 1 10 |
| correct output |
|---|
| 3 1 9 10 |
| user output |
|---|
| 9 1 3 4 5 6 7 8 9 10 10 1 3 4 5 6 7 8 9 10 10 11 ... |
Test 27
Verdict: ACCEPTED
| input |
|---|
| 10 9 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 28
Verdict: ACCEPTED
| input |
|---|
| 10 40 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 29
Verdict: ACCEPTED
| input |
|---|
| 10 9 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 30
Verdict: WRONG ANSWER
| 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 |
|---|
| 98 1 60 3 4 5 6 7 8 9 10 11 12 13... |
Test 31
Verdict: ACCEPTED
| 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 |
|---|
| 73 1 99 3 4 5 6 7 8 9 10 11 12 13... |
Test 32
Verdict: WRONG ANSWER
| 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 |
|---|
| 98 1 20 3 4 5 6 7 8 9 10 11 12 13... |
Test 33
Verdict: WRONG ANSWER
| 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 |
|---|
| 98 1 8 3 4 5 6 9 10 11 12 13 14 1... |
Test 34
Verdict: ACCEPTED
| input |
|---|
| 100 4910 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 35
Verdict: ACCEPTED
| input |
|---|
| 100 197 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 36
Verdict: WRONG ANSWER
| input |
|---|
| 100 248 1 8 1 29 1 53 1 61 ... |
| correct output |
|---|
| 3 1 99 100 |
| user output |
|---|
| 93 1 3 4 5 6 7 8 9 12 10 13 14 15... |
Test 37
Verdict: ACCEPTED
| input |
|---|
| 100 99 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 38
Verdict: ACCEPTED
| input |
|---|
| 100 4888 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 39
Verdict: ACCEPTED
| input |
|---|
| 100 99 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 40
Verdict: WRONG ANSWER
| input |
|---|
| 200 396 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 60 1 119 199 198 197 196 195 194 ... |
| user output |
|---|
| 198 1 119 3 4 5 6 7 8 9 10 11 12 1... |
Test 41
Verdict: ACCEPTED
| input |
|---|
| 200 396 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 58 1 199 198 197 196 195 194 193 ... |
| user output |
|---|
| 145 1 199 3 4 5 6 7 8 9 10 11 12 1... |
Test 42
Verdict: WRONG ANSWER
| 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 |
|---|
| 198 1 38 3 4 5 6 7 8 9 10 11 12 13... |
Test 43
Verdict: WRONG ANSWER
| 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 |
|---|
| 198 1 16 3 4 5 6 7 8 9 10 11 12 13... |
Test 44
Verdict: ACCEPTED
| input |
|---|
| 200 19807 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 45
Verdict: ACCEPTED
| input |
|---|
| 200 397 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 46
Verdict: WRONG ANSWER
| input |
|---|
| 200 994 1 8 1 29 1 53 1 61 ... |
| correct output |
|---|
| 3 1 199 200 |
| user output |
|---|
| 192 1 3 4 6 7 8 9 10 11 12 13 14 1... |
Test 47
Verdict: ACCEPTED
| input |
|---|
| 200 199 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 48
Verdict: ACCEPTED
| input |
|---|
| 200 19792 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 49
Verdict: ACCEPTED
| input |
|---|
| 200 199 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 50
Verdict: TIME LIMIT EXCEEDED
| 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) |
Test 51
Verdict: TIME LIMIT EXCEEDED
| 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) |
Test 52
Verdict: TIME LIMIT EXCEEDED
| 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) |
Test 53
Verdict: TIME LIMIT EXCEEDED
| 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) |
Test 54
Verdict: WRONG ANSWER
| input |
|---|
| 1000 299999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 3 1 691 1000 |
| user output |
|---|
| 783 1 691 369 249 749 370 245 497 ... |
Test 55
Verdict: ACCEPTED
| input |
|---|
| 1000 1997 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 56
Verdict: TIME LIMIT EXCEEDED
| input |
|---|
| 1000 25751 1 8 1 29 1 53 1 61 ... |
| correct output |
|---|
| 4 1 999 998 1000 |
| user output |
|---|
| (empty) |
Test 57
Verdict: ACCEPTED
| input |
|---|
| 1000 999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 58
Verdict: WRONG ANSWER
| input |
|---|
| 1000 299999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 3 1 832 1000 |
| user output |
|---|
| 784 1 224 832 369 559 370 371 372 ... |
Test 59
Verdict: ACCEPTED
| input |
|---|
| 1000 999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 60
Verdict: TIME LIMIT EXCEEDED
| input |
|---|
| 1000 299999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 3 1 999 1000 |
| user output |
|---|
| (empty) |
Test 61
Verdict: TIME LIMIT EXCEEDED
| input |
|---|
| 1000 999 1 1000 2 1000 3 1000 4 1000 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Test 62
Verdict: TIME LIMIT EXCEEDED
| input |
|---|
| 1000 999 1 1000 2 1000 3 1000 4 1000 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Test 63
Verdict: TIME LIMIT EXCEEDED
| input |
|---|
| 1000 195765 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 4 1 999 997 1000 |
| user output |
|---|
| (empty) |
Test 64
Verdict: TIME LIMIT EXCEEDED
| 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) |
Test 65
Verdict: TIME LIMIT EXCEEDED
| input |
|---|
| 1000 92979 1 6 1 8 1 12 1 18 ... |
| correct output |
|---|
| 2 1 1000 |
| user output |
|---|
| (empty) |
Test 66
Verdict: ACCEPTED
| input |
|---|
| 1000 1997 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 67
Verdict: ACCEPTED
| input |
|---|
| 1000 1997 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 68
Verdict: WRONG ANSWER
| input |
|---|
| 1000 299999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 3 1 885 1000 |
| user output |
|---|
| 367 1 885 369 246 276 769 370 371 ... |
Test 69
Verdict: ACCEPTED
| input |
|---|
| 1000 999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 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) |
Test 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) |
Test 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) |
Test 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) |
Test 74
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 270197 1 861 1 12080 1 39541 1 39686 ... |
| correct output |
|---|
| 3 1 99999 100000 |
| user output |
|---|
| (empty) |
Test 75
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 199997 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Test 76
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 284253 1 23553 1 48406 1 56616 1 56899 ... |
| correct output |
|---|
| 2 1 100000 |
| user output |
|---|
| (empty) |
Test 77
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 99999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Test 78
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 3335 1 100000 11 26761 12 80933 41 44903 ... |
| correct output |
|---|
| 3 1 99999 100000 |
| user output |
|---|
| (empty) |
Test 79
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 99999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Test 80
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 89632 1 76350 1 97733 1 100000 2 16314 ... |
| correct output |
|---|
| 3 1 99999 100000 |
| user output |
|---|
| (empty) |
Test 81
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 99999 1 100000 2 100000 3 100000 4 100000 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Test 82
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 99999 1 100000 2 100000 3 100000 4 100000 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Test 83
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 182210 1 17827 1 55463 1 98875 1 100000 ... |
| correct output |
|---|
| 3 1 99999 100000 |
| user output |
|---|
| (empty) |
Test 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) |
Test 85
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 244084 1 33037 1 48376 1 94522 1 100000 ... |
| correct output |
|---|
| 3 1 99999 100000 |
| user output |
|---|
| (empty) |
Test 86
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 199997 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Test 87
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 199997 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Test 88
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 22805 1 100000 2 29973 7 38479 7 77260 ... |
| correct output |
|---|
| 3 1 99999 100000 |
| user output |
|---|
| (empty) |
Test 89
Verdict: RUNTIME ERROR
| input |
|---|
| 100000 99999 1 2 1 3 1 4 1 5 ... |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
