| Task: | Particle accelerator |
| Sender: | aalto26cm_029 |
| Submission time: | 2026-09-16 16:02:45 +0300 |
| Language: | Python3 (PyPy3) |
| Status: | READY |
| Result: | RUNTIME ERROR |
| test | verdict | time | |
|---|---|---|---|
| #1 | ACCEPTED | 0.04 s | details |
| #2 | ACCEPTED | 0.04 s | details |
| #3 | RUNTIME ERROR | 0.06 s | details |
| #4 | RUNTIME ERROR | 0.07 s | details |
| #5 | RUNTIME ERROR | 0.06 s | details |
| #6 | RUNTIME ERROR | 0.06 s | details |
| #7 | RUNTIME ERROR | 0.06 s | details |
| #8 | RUNTIME ERROR | 0.06 s | details |
| #9 | RUNTIME ERROR | 0.06 s | details |
| #10 | RUNTIME ERROR | 0.06 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.06 s | details |
| #16 | RUNTIME ERROR | 0.06 s | details |
| #17 | RUNTIME ERROR | 0.06 s | details |
| #18 | RUNTIME ERROR | 0.06 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.06 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.07 s | details |
| #33 | RUNTIME ERROR | 0.07 s | details |
| #34 | RUNTIME ERROR | 0.07 s | details |
| #35 | RUNTIME ERROR | 0.07 s | details |
| #36 | RUNTIME ERROR | 0.07 s | details |
| #37 | RUNTIME ERROR | 0.07 s | details |
| #38 | RUNTIME ERROR | 0.07 s | details |
| #39 | RUNTIME ERROR | 0.07 s | details |
| #40 | RUNTIME ERROR | 0.07 s | details |
| #41 | RUNTIME ERROR | 0.07 s | details |
| #42 | RUNTIME ERROR | 0.08 s | details |
| #43 | RUNTIME ERROR | 0.08 s | details |
| #44 | RUNTIME ERROR | 0.08 s | details |
| #45 | RUNTIME ERROR | 0.08 s | details |
| #46 | RUNTIME ERROR | 0.08 s | details |
| #47 | RUNTIME ERROR | 0.08 s | details |
| #48 | RUNTIME ERROR | 0.08 s | details |
| #49 | RUNTIME ERROR | 0.08 s | details |
| #50 | RUNTIME ERROR | 0.08 s | details |
| #51 | RUNTIME ERROR | 0.08 s | details |
| #52 | RUNTIME ERROR | 0.08 s | details |
| #53 | RUNTIME ERROR | 0.08 s | details |
| #54 | RUNTIME ERROR | 0.08 s | details |
| #55 | RUNTIME ERROR | 0.08 s | details |
| #56 | RUNTIME ERROR | 0.08 s | details |
| #57 | RUNTIME ERROR | 0.08 s | details |
| #58 | RUNTIME ERROR | 0.08 s | details |
| #59 | RUNTIME ERROR | 0.08 s | details |
| #60 | RUNTIME ERROR | 0.08 s | details |
| #61 | RUNTIME ERROR | 0.08 s | details |
| #62 | RUNTIME ERROR | 0.08 s | details |
| #63 | RUNTIME ERROR | 0.08 s | details |
| #64 | RUNTIME ERROR | 0.08 s | details |
| #65 | RUNTIME ERROR | 0.08 s | details |
| #66 | RUNTIME ERROR | 0.08 s | details |
| #67 | RUNTIME ERROR | 0.08 s | details |
| #68 | RUNTIME ERROR | 0.08 s | details |
| #69 | RUNTIME ERROR | 0.09 s | details |
| #70 | RUNTIME ERROR | 0.08 s | details |
| #71 | RUNTIME ERROR | 0.08 s | details |
| #72 | RUNTIME ERROR | 0.12 s | details |
| #73 | RUNTIME ERROR | 0.13 s | details |
| #74 | RUNTIME ERROR | 0.13 s | details |
| #75 | RUNTIME ERROR | 0.12 s | details |
| #76 | RUNTIME ERROR | 0.12 s | details |
| #77 | RUNTIME ERROR | 0.12 s | details |
| #78 | RUNTIME ERROR | 0.13 s | details |
| #79 | RUNTIME ERROR | 0.13 s | details |
| #80 | RUNTIME ERROR | 0.13 s | details |
| #81 | RUNTIME ERROR | 0.13 s | details |
| #82 | RUNTIME ERROR | 0.12 s | details |
| #83 | RUNTIME ERROR | 0.12 s | details |
| #84 | RUNTIME ERROR | 0.14 s | details |
| #85 | RUNTIME ERROR | 0.12 s | details |
| #86 | RUNTIME ERROR | 0.12 s | details |
| #87 | RUNTIME ERROR | 0.12 s | details |
| #88 | RUNTIME ERROR | 0.13 s | details |
| #89 | RUNTIME ERROR | 0.13 s | details |
| #90 | RUNTIME ERROR | 0.12 s | details |
| #91 | RUNTIME ERROR | 0.12 s | details |
Code
import sys
input_d = sys.stdin.read().split()
n = int(input_d[0])
mass = [int(i) for i in input_d[1:]]
def collide(a,b):
print(a,b)
ma = mass[a]
mb = mass[b]
return ma*mb - (min(ma,mb))**2
def collide1(a,b):
return a*b - (min(a,b))**2
if n== 1:
print(0)
exit()
dic = {}
dp = {}
total_cost = 0
for c in range(n-1):
for k in range(len(mass)):
print(k,mass)
if k ==0:
left_collision = collide(0,len(mass)-1)
right_collision= collide(0,1)
dic[0,1] = right_collision
dic[0,n-1] = left_collision
else :
if k+1 < n :
right_collision= collide(k,k+1)
if k-1 >= 0 :
left_collision = collide(k,k-1)
dic[k,k+1] = right_collision
dic[k,k-1] = left_collision
dp[k] = min(left_collision,right_collision)
min_cost = min(dp)
merge_ind = min(dp,key=lambda x: dp[x])
min_cost = dp.get(merge_ind)
total_cost+= min_cost
dp.pop(merge_ind)
side = 0
if dic[merge_ind,merge_ind-1] < dic[merge_ind,merge_ind+1]:
side=-1
a,b = merge_ind, merge_ind-1
else:
side = 1
a,b = merge_ind,merge_ind+1
#a,b = min(dic[merge_ind,merge_ind-1],dic[merge_ind,merge_ind+1])
mass[merge_ind] = a+b
mass.pop(merge_ind+side)
print(total_cost)
print(dic)
Test details
Test 1
Verdict: ACCEPTED
| input |
|---|
| 1 373 |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 2
Verdict: ACCEPTED
| input |
|---|
| 1 10 |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 3
Verdict: RUNTIME ERROR
| input |
|---|
| 2 1 7 |
| correct output |
|---|
| 6 |
| user output |
|---|
| 0 [1, 7] 0 1 0 1 1 [1, 7] 1 0 |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 47, in <module>
if dic[merge_ind,merge_ind-1] < dic[merge_ind,merge_ind+1]:
KeyError: (0, -1)Test 4
Verdict: RUNTIME ERROR
| input |
|---|
| 2 798 810 |
| correct output |
|---|
| 9576 |
| user output |
|---|
| 0 [798, 810] 0 1 0 1 1 [798, 810] 1 0 |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 47, in <module>
if dic[merge_ind,merge_ind-1] < dic[merge_ind,merge_ind+1]:
KeyError: (0, -1)Test 5
Verdict: RUNTIME ERROR
| input |
|---|
| 3 2 7 9 |
| correct output |
|---|
| 10 |
| user output |
|---|
| 0 [2, 7, 9] 0 2 0 1 1 [2, 7, 9] 1 2 ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 47, in <module>
if dic[merge_ind,merge_ind-1] < dic[merge_ind,merge_ind+1]:
KeyError: (0, -1)Test 6
Verdict: RUNTIME ERROR
| input |
|---|
| 3 43371 770816 582162 |
| correct output |
|---|
| 166626155145 |
| user output |
|---|
| 0 [43371, 770816, 582162] 0 2 0 1 1 [43371, 770816, 582162] 1 2 ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 47, in <module>
if dic[merge_ind,merge_ind-1] < dic[merge_ind,merge_ind+1]:
KeyError: (0, -1)Test 7
Verdict: RUNTIME ERROR
| input |
|---|
| 3 255995 678296 258159 |
| correct output |
|---|
| 282656505483 |
| user output |
|---|
| 0 [255995, 678296, 258159] 0 2 0 1 1 [255995, 678296, 258159] 1 2 ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 47, in <module>
if dic[merge_ind,merge_ind-1] < dic[merge_ind,merge_ind+1]:
KeyError: (0, -1)Test 8
Verdict: RUNTIME ERROR
| input |
|---|
| 4 2 4 5 10 |
| correct output |
|---|
| 19 |
| user output |
|---|
| 0 [2, 4, 5, 10] 0 3 0 1 1 [2, 4, 5, 10] 1 2 ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 47, in <module>
if dic[merge_ind,merge_ind-1] < dic[merge_ind,merge_ind+1]:
KeyError: (0, -1)Test 9
Verdict: RUNTIME ERROR
| input |
|---|
| 4 10 1 10 5 |
| correct output |
|---|
| 78 |
| user output |
|---|
| 0 [10, 1, 10, 5] 0 3 0 1 1 [10, 1, 10, 5] 1 2 ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 47, in <module>
if dic[merge_ind,merge_ind-1] < dic[merge_ind,merge_ind+1]:
KeyError: (0, -1)Test 10
Verdict: RUNTIME ERROR
| input |
|---|
| 4 4 10 10 8 |
| correct output |
|---|
| 96 |
| user output |
|---|
| 0 [4, 10, 10, 8] 0 3 0 1 1 [4, 10, 10, 8] 1 2 ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 11
Verdict: RUNTIME ERROR
| input |
|---|
| 4 635350 99359 612245 308607 |
| correct output |
|---|
| 283721279422 |
| user output |
|---|
| 0 [635350, 99359, 612245, 3086... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 12
Verdict: RUNTIME ERROR
| input |
|---|
| 5 8 9 7 9 6 |
| correct output |
|---|
| 167 |
| user output |
|---|
| 0 [8, 9, 7, 9, 6] 0 4 0 1 1 [8, 9, 7, 9, 6] 1 2 ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 47, in <module>
if dic[merge_ind,merge_ind-1] < dic[merge_ind,merge_ind+1]:
KeyError: (0, -1)Test 13
Verdict: RUNTIME ERROR
| input |
|---|
| 5 8 10 1 2 4 |
| correct output |
|---|
| 97 |
| user output |
|---|
| 0 [8, 10, 1, 2, 4] 0 4 0 1 1 [8, 10, 1, 2, 4] 1 2 ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 14
Verdict: RUNTIME ERROR
| input |
|---|
| 5 25933 931751 549787 947945 435... |
| correct output |
|---|
| 642593396167 |
| user output |
|---|
| 0 [25933, 931751, 549787, 9479... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 47, in <module>
if dic[merge_ind,merge_ind-1] < dic[merge_ind,merge_ind+1]:
KeyError: (0, -1)Test 15
Verdict: RUNTIME ERROR
| input |
|---|
| 5 709 840 291 122 511 |
| correct output |
|---|
| 731471 |
| user output |
|---|
| 0 [709, 840, 291, 122, 511] 0 4 0 1 1 [709, 840, 291, 122, 511] 1 2 ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 16
Verdict: RUNTIME ERROR
| input |
|---|
| 5 6 2 10 9 8 |
| correct output |
|---|
| 49 |
| user output |
|---|
| 0 [6, 2, 10, 9, 8] 0 4 0 1 1 [6, 2, 10, 9, 8] 1 2 ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 47, in <module>
if dic[merge_ind,merge_ind-1] < dic[merge_ind,merge_ind+1]:
KeyError: (0, -1)Test 17
Verdict: RUNTIME ERROR
| input |
|---|
| 5 870929 831516 206766 363819 91... |
| correct output |
|---|
| 581247680937 |
| user output |
|---|
| 0 [870929, 831516, 206766, 363... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 18
Verdict: RUNTIME ERROR
| input |
|---|
| 5 4 3 9 1 1 |
| correct output |
|---|
| 45 |
| user output |
|---|
| 0 [4, 3, 9, 1, 1] 0 4 0 1 1 [4, 3, 9, 1, 1] 1 2 ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 19
Verdict: RUNTIME ERROR
| input |
|---|
| 5 780095 319045 438508 978444 72... |
| correct output |
|---|
| 492410128596 |
| user output |
|---|
| 0 [780095, 319045, 438508, 978... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 20
Verdict: RUNTIME ERROR
| input |
|---|
| 5 969 240 870 378 531 |
| correct output |
|---|
| 955854 |
| user output |
|---|
| 0 [969, 240, 870, 378, 531] 0 4 0 1 1 [969, 240, 870, 378, 531] 1 2 ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 21
Verdict: RUNTIME ERROR
| input |
|---|
| 5 501988 499243 495885 7545 1338... |
| correct output |
|---|
| 284384673000 |
| user output |
|---|
| 0 [501988, 499243, 495885, 754... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 22
Verdict: RUNTIME ERROR
| input |
|---|
| 10 8 9 7 9 6 9 5 7 7 4 |
| correct output |
|---|
| 347 |
| user output |
|---|
| 0 [8, 9, 7, 9, 6, 9, 5, 7, 7, ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 23
Verdict: RUNTIME ERROR
| input |
|---|
| 10 8 10 1 2 4 10 2 3 1 4 |
| correct output |
|---|
| 194 |
| user output |
|---|
| 0 [8, 10, 1, 2, 4, 10, 2, 3, 1... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 24
Verdict: RUNTIME ERROR
| input |
|---|
| 10 25933 931751 549787 947945 435... |
| correct output |
|---|
| 1909421677160 |
| user output |
|---|
| 0 [25933, 931751, 549787, 9479... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 25
Verdict: RUNTIME ERROR
| input |
|---|
| 10 709 840 291 122 511 570 893 43... |
| correct output |
|---|
| 2139925 |
| user output |
|---|
| 0 [709, 840, 291, 122, 511, 57... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 47, in <module>
if dic[merge_ind,merge_ind-1] < dic[merge_ind,merge_ind+1]:
KeyError: (0, -1)Test 26
Verdict: RUNTIME ERROR
| input |
|---|
| 10 6 2 10 9 8 7 7 6 3 2 |
| correct output |
|---|
| 339 |
| user output |
|---|
| 0 [6, 2, 10, 9, 8, 7, 7, 6, 3,... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 27
Verdict: RUNTIME ERROR
| input |
|---|
| 10 870929 831516 206766 363819 91... |
| correct output |
|---|
| 2999634317613 |
| user output |
|---|
| 0 [870929, 831516, 206766, 363... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 28
Verdict: RUNTIME ERROR
| input |
|---|
| 10 4 3 9 1 1 4 2 10 6 1 |
| correct output |
|---|
| 194 |
| user output |
|---|
| 0 [4, 3, 9, 1, 1, 4, 2, 10, 6,... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 29
Verdict: RUNTIME ERROR
| input |
|---|
| 10 780095 319045 438508 978444 72... |
| correct output |
|---|
| 3083316036349 |
| user output |
|---|
| 0 [780095, 319045, 438508, 978... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 30
Verdict: RUNTIME ERROR
| input |
|---|
| 10 969 240 870 378 531 817 233 42... |
| correct output |
|---|
| 1139241 |
| user output |
|---|
| 0 [969, 240, 870, 378, 531, 81... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 31
Verdict: RUNTIME ERROR
| input |
|---|
| 10 501988 499243 495885 7545 1338... |
| correct output |
|---|
| 554211450134 |
| user output |
|---|
| 0 [501988, 499243, 495885, 754... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 32
Verdict: RUNTIME ERROR
| input |
|---|
| 100 8 9 7 9 6 9 5 7 7 4 5 3 9 1 10... |
| correct output |
|---|
| 6396 |
| user output |
|---|
| 0 [8, 9, 7, 9, 6, 9, 5, 7, 7, ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 33
Verdict: RUNTIME ERROR
| input |
|---|
| 100 8 10 1 2 4 10 2 3 1 4 2 4 4 7 ... |
| correct output |
|---|
| 3542 |
| user output |
|---|
| 0 [8, 10, 1, 2, 4, 10, 2, 3, 1... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 34
Verdict: RUNTIME ERROR
| input |
|---|
| 100 25933 931751 549787 947945 435... |
| correct output |
|---|
| 45440863225859 |
| user output |
|---|
| 0 [25933, 931751, 549787, 9479... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 35
Verdict: RUNTIME ERROR
| input |
|---|
| 100 709 840 291 122 511 570 893 43... |
| correct output |
|---|
| 45958697 |
| user output |
|---|
| 0 [709, 840, 291, 122, 511, 57... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 36
Verdict: RUNTIME ERROR
| input |
|---|
| 100 6 2 10 9 8 7 7 6 3 2 10 3 1 7 ... |
| correct output |
|---|
| 3828 |
| user output |
|---|
| 0 [6, 2, 10, 9, 8, 7, 7, 6, 3,... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 37
Verdict: RUNTIME ERROR
| input |
|---|
| 100 870929 831516 206766 363819 91... |
| correct output |
|---|
| 38360827705542 |
| user output |
|---|
| 0 [870929, 831516, 206766, 363... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 38
Verdict: RUNTIME ERROR
| input |
|---|
| 100 4 3 9 1 1 4 2 10 6 1 6 7 5 6 4... |
| correct output |
|---|
| 5967 |
| user output |
|---|
| 0 [4, 3, 9, 1, 1, 4, 2, 10, 6,... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 39
Verdict: RUNTIME ERROR
| input |
|---|
| 100 780095 319045 438508 978444 72... |
| correct output |
|---|
| 42394120248428 |
| user output |
|---|
| 0 [780095, 319045, 438508, 978... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 40
Verdict: RUNTIME ERROR
| input |
|---|
| 100 969 240 870 378 531 817 233 42... |
| correct output |
|---|
| 43869305 |
| user output |
|---|
| 0 [969, 240, 870, 378, 531, 81... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 41
Verdict: RUNTIME ERROR
| input |
|---|
| 100 501988 499243 495885 7545 1338... |
| correct output |
|---|
| 51929619520205 |
| user output |
|---|
| 0 [501988, 499243, 495885, 754... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 42
Verdict: RUNTIME ERROR
| input |
|---|
| 200 21 495 634 444 749 832 499 584... |
| correct output |
|---|
| 94150203 |
| user output |
|---|
| 0 [21, 495, 634, 444, 749, 832... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 43
Verdict: RUNTIME ERROR
| input |
|---|
| 200 19480 664871 463323 194160 725... |
| correct output |
|---|
| 109172696765966 |
| user output |
|---|
| 0 [19480, 664871, 463323, 1941... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 44
Verdict: RUNTIME ERROR
| input |
|---|
| 200 740217 873584 263375 86454 533... |
| correct output |
|---|
| 91609970771011 |
| user output |
|---|
| 0 [740217, 873584, 263375, 864... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 45
Verdict: RUNTIME ERROR
| input |
|---|
| 200 3 9 9 9 10 2 10 8 5 8 7 7 8 8 ... |
| correct output |
|---|
| 12594 |
| user output |
|---|
| 0 [3, 9, 9, 9, 10, 2, 10, 8, 5... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 46
Verdict: RUNTIME ERROR
| input |
|---|
| 200 8 7 9 4 1 2 4 3 10 3 6 4 4 4 6... |
| correct output |
|---|
| 11434 |
| user output |
|---|
| 0 [8, 7, 9, 4, 1, 2, 4, 3, 10,... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 47
Verdict: RUNTIME ERROR
| input |
|---|
| 200 2 6 1 2 4 9 3 10 6 1 4 9 4 8 2... |
| correct output |
|---|
| 10973 |
| user output |
|---|
| 0 [2, 6, 1, 2, 4, 9, 3, 10, 6,... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 48
Verdict: RUNTIME ERROR
| input |
|---|
| 200 523282 55700 550826 308687 456... |
| correct output |
|---|
| 92752119769026 |
| user output |
|---|
| 0 [523282, 55700, 550826, 3086... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 49
Verdict: RUNTIME ERROR
| input |
|---|
| 200 530707 844425 191564 889066 67... |
| correct output |
|---|
| 99915887908116 |
| user output |
|---|
| 0 [530707, 844425, 191564, 889... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 50
Verdict: RUNTIME ERROR
| input |
|---|
| 200 506 433 879 245 182 909 853 20... |
| correct output |
|---|
| 100894725 |
| user output |
|---|
| 0 [506, 433, 879, 245, 182, 90... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 51
Verdict: RUNTIME ERROR
| input |
|---|
| 200 761422 412836 246994 715471 13... |
| correct output |
|---|
| 91724968917854 |
| user output |
|---|
| 0 [761422, 412836, 246994, 715... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 52
Verdict: RUNTIME ERROR
| input |
|---|
| 200 9 10 9 10 9 7 1 7 7 10 4 7 6 1... |
| correct output |
|---|
| 9260 |
| user output |
|---|
| 0 [9, 10, 9, 10, 9, 7, 1, 7, 7... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 53
Verdict: RUNTIME ERROR
| input |
|---|
| 200 3 7 8 1 1 10 3 7 1 2 4 9 7 4 4... |
| correct output |
|---|
| 13944 |
| user output |
|---|
| 0 [3, 7, 8, 1, 1, 10, 3, 7, 1,... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 54
Verdict: RUNTIME ERROR
| input |
|---|
| 200 5 8 5 7 9 8 2 9 4 9 3 3 7 1 3 ... |
| correct output |
|---|
| 15692 |
| user output |
|---|
| 0 [5, 8, 5, 7, 9, 8, 2, 9, 4, ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 55
Verdict: RUNTIME ERROR
| input |
|---|
| 200 10 2 8 8 3 6 3 5 7 2 2 1 4 3 7... |
| correct output |
|---|
| 12255 |
| user output |
|---|
| 0 [10, 2, 8, 8, 3, 6, 3, 5, 7,... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 56
Verdict: RUNTIME ERROR
| input |
|---|
| 200 700 53 1000 318 221 984 362 51... |
| correct output |
|---|
| 126087673 |
| user output |
|---|
| 0 [700, 53, 1000, 318, 221, 98... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 57
Verdict: RUNTIME ERROR
| input |
|---|
| 200 6 5 3 1 2 2 5 2 2 3 7 7 5 2 6 ... |
| correct output |
|---|
| 11199 |
| user output |
|---|
| 0 [6, 5, 3, 1, 2, 2, 5, 2, 2, ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 58
Verdict: RUNTIME ERROR
| input |
|---|
| 200 6 3 8 6 8 1 9 2 2 3 3 8 5 9 8 ... |
| correct output |
|---|
| 13071 |
| user output |
|---|
| 0 [6, 3, 8, 6, 8, 1, 9, 2, 2, ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 59
Verdict: RUNTIME ERROR
| input |
|---|
| 200 814768 915127 735563 468064 86... |
| correct output |
|---|
| 98792356012408 |
| user output |
|---|
| 0 [814768, 915127, 735563, 468... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 60
Verdict: RUNTIME ERROR
| input |
|---|
| 200 562 289 125 165 398 398 782 31... |
| correct output |
|---|
| 94162582 |
| user output |
|---|
| 0 [562, 289, 125, 165, 398, 39... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 61
Verdict: RUNTIME ERROR
| input |
|---|
| 200 3 4 1 10 8 5 5 4 6 4 8 9 9 9 8... |
| correct output |
|---|
| 11090 |
| user output |
|---|
| 0 [3, 4, 1, 10, 8, 5, 5, 4, 6,... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 62
Verdict: RUNTIME ERROR
| input |
|---|
| 200 4 3 7 5 2 7 10 8 4 7 10 10 3 7... |
| correct output |
|---|
| 11655 |
| user output |
|---|
| 0 [4, 3, 7, 5, 2, 7, 10, 8, 4,... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 63
Verdict: RUNTIME ERROR
| input |
|---|
| 200 958322 322406 770487 611574 98... |
| correct output |
|---|
| 81490639470393 |
| user output |
|---|
| 0 [958322, 322406, 770487, 611... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 64
Verdict: RUNTIME ERROR
| input |
|---|
| 200 373 422 556 331 956 754 737 73... |
| correct output |
|---|
| 88581726 |
| user output |
|---|
| 0 [373, 422, 556, 331, 956, 75... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 65
Verdict: RUNTIME ERROR
| input |
|---|
| 200 5 7 5 10 3 2 9 8 2 7 1 9 10 9 ... |
| correct output |
|---|
| 13948 |
| user output |
|---|
| 0 [5, 7, 5, 10, 3, 2, 9, 8, 2,... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 66
Verdict: RUNTIME ERROR
| input |
|---|
| 200 780277 423471 92725 418110 633... |
| correct output |
|---|
| 136105358146422 |
| user output |
|---|
| 0 [780277, 423471, 92725, 4181... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 67
Verdict: RUNTIME ERROR
| input |
|---|
| 200 308420 676676 231540 246163 27... |
| correct output |
|---|
| 104365913260031 |
| user output |
|---|
| 0 [308420, 676676, 231540, 246... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 68
Verdict: RUNTIME ERROR
| input |
|---|
| 200 602 717 953 825 144 864 808 92... |
| correct output |
|---|
| 82761699 |
| user output |
|---|
| 0 [602, 717, 953, 825, 144, 86... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 69
Verdict: RUNTIME ERROR
| input |
|---|
| 200 465 525 193 757 582 310 621 85... |
| correct output |
|---|
| 101145827 |
| user output |
|---|
| 0 [465, 525, 193, 757, 582, 31... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 70
Verdict: RUNTIME ERROR
| input |
|---|
| 200 9 10 10 9 8 5 7 10 7 6 3 2 4 2... |
| correct output |
|---|
| 9822 |
| user output |
|---|
| 0 [9, 10, 10, 9, 8, 5, 7, 10, ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 71
Verdict: RUNTIME ERROR
| input |
|---|
| 200 798 810 821 367 123 829 603 60... |
| correct output |
|---|
| 111853493 |
| user output |
|---|
| 0 [798, 810, 821, 367, 123, 82... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 72
Verdict: RUNTIME ERROR
| input |
|---|
| 500 21 495 634 444 749 832 499 584... |
| correct output |
|---|
| 320652082 |
| user output |
|---|
| 0 [21, 495, 634, 444, 749, 832... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 73
Verdict: RUNTIME ERROR
| input |
|---|
| 500 19480 664871 463323 194160 725... |
| correct output |
|---|
| 255800779186420 |
| user output |
|---|
| 0 [19480, 664871, 463323, 1941... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 74
Verdict: RUNTIME ERROR
| input |
|---|
| 500 740217 873584 263375 86454 533... |
| correct output |
|---|
| 282774432682654 |
| user output |
|---|
| 0 [740217, 873584, 263375, 864... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 75
Verdict: RUNTIME ERROR
| input |
|---|
| 500 3 9 9 9 10 2 10 8 5 8 7 7 8 8 ... |
| correct output |
|---|
| 30727 |
| user output |
|---|
| 0 [3, 9, 9, 9, 10, 2, 10, 8, 5... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 76
Verdict: RUNTIME ERROR
| input |
|---|
| 500 8 7 9 4 1 2 4 3 10 3 6 4 4 4 6... |
| correct output |
|---|
| 28929 |
| user output |
|---|
| 0 [8, 7, 9, 4, 1, 2, 4, 3, 10,... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 77
Verdict: RUNTIME ERROR
| input |
|---|
| 500 2 6 1 2 4 9 3 10 6 1 4 9 4 8 2... |
| correct output |
|---|
| 39800 |
| user output |
|---|
| 0 [2, 6, 1, 2, 4, 9, 3, 10, 6,... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 78
Verdict: RUNTIME ERROR
| input |
|---|
| 500 523282 55700 550826 308687 456... |
| correct output |
|---|
| 367458083034844 |
| user output |
|---|
| 0 [523282, 55700, 550826, 3086... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 79
Verdict: RUNTIME ERROR
| input |
|---|
| 500 530707 844425 191564 889066 67... |
| correct output |
|---|
| 276567810216590 |
| user output |
|---|
| 0 [530707, 844425, 191564, 889... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 80
Verdict: RUNTIME ERROR
| input |
|---|
| 500 506 433 879 245 182 909 853 20... |
| correct output |
|---|
| 357098617 |
| user output |
|---|
| 0 [506, 433, 879, 245, 182, 90... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 81
Verdict: RUNTIME ERROR
| input |
|---|
| 500 761422 412836 246994 715471 13... |
| correct output |
|---|
| 345118298392748 |
| user output |
|---|
| 0 [761422, 412836, 246994, 715... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 82
Verdict: RUNTIME ERROR
| input |
|---|
| 500 9 10 9 10 9 7 1 7 7 10 4 7 6 1... |
| correct output |
|---|
| 37385 |
| user output |
|---|
| 0 [9, 10, 9, 10, 9, 7, 1, 7, 7... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 83
Verdict: RUNTIME ERROR
| input |
|---|
| 500 3 7 8 1 1 10 3 7 1 2 4 9 7 4 4... |
| correct output |
|---|
| 45054 |
| user output |
|---|
| 0 [3, 7, 8, 1, 1, 10, 3, 7, 1,... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 84
Verdict: RUNTIME ERROR
| input |
|---|
| 500 5 8 5 7 9 8 2 9 4 9 3 3 7 1 3 ... |
| correct output |
|---|
| 48480 |
| user output |
|---|
| 0 [5, 8, 5, 7, 9, 8, 2, 9, 4, ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 85
Verdict: RUNTIME ERROR
| input |
|---|
| 500 10 2 8 8 3 6 3 5 7 2 2 1 4 3 7... |
| correct output |
|---|
| 35867 |
| user output |
|---|
| 0 [10, 2, 8, 8, 3, 6, 3, 5, 7,... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 86
Verdict: RUNTIME ERROR
| input |
|---|
| 500 700 53 1000 318 221 984 362 51... |
| correct output |
|---|
| 344007358 |
| user output |
|---|
| 0 [700, 53, 1000, 318, 221, 98... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 87
Verdict: RUNTIME ERROR
| input |
|---|
| 500 6 5 3 1 2 2 5 2 2 3 7 7 5 2 6 ... |
| correct output |
|---|
| 32937 |
| user output |
|---|
| 0 [6, 5, 3, 1, 2, 2, 5, 2, 2, ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 88
Verdict: RUNTIME ERROR
| input |
|---|
| 500 6 3 8 6 8 1 9 2 2 3 3 8 5 9 8 ... |
| correct output |
|---|
| 33083 |
| user output |
|---|
| 0 [6, 3, 8, 6, 8, 1, 9, 2, 2, ... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 89
Verdict: RUNTIME ERROR
| input |
|---|
| 500 814768 915127 735563 468064 86... |
| correct output |
|---|
| 352570895811941 |
| user output |
|---|
| 0 [814768, 915127, 735563, 468... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 90
Verdict: RUNTIME ERROR
| input |
|---|
| 500 562 289 125 165 398 398 782 31... |
| correct output |
|---|
| 349500395 |
| user output |
|---|
| 0 [562, 289, 125, 165, 398, 39... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of rangeTest 91
Verdict: RUNTIME ERROR
| input |
|---|
| 500 3 4 1 10 8 5 5 4 6 4 8 9 9 9 8... |
| correct output |
|---|
| 35153 |
| user output |
|---|
| 0 [3, 4, 1, 10, 8, 5, 5, 4, 6,... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 35, in <module>
right_collision= collide(k,k+1)
File "/box/input/code.py", line 10, in collide
mb = mass[b]
IndexError: list index out of range