Task: | Spiraali |
Sender: | Ebin :D |
Submission time: | 2021-10-15 08:27:16 +0300 |
Language: | Python3 (CPython3) |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | WRONG ANSWER | 0 |
#2 | RUNTIME ERROR | 0 |
#3 | RUNTIME ERROR | 0 |
test | verdict | time | group | |
---|---|---|---|---|
#1 | WRONG ANSWER | 0.02 s | 1 | details |
#2 | RUNTIME ERROR | 0.02 s | 2 | details |
#3 | RUNTIME ERROR | 0.02 s | 3 | details |
Code
list = [[1,36,35,34,33,32,31,30,29,28], [2,37,64,63,62,61,60,59,58,27], [3,38,65,84,83,82,81,80,57,26], [4,39,66,85,96,95,94,79,56,25], [5,40,67,86,97,100,93,78,55,24], [6,41,68,87,98,99,92,77,54,23], [7,42,69,88,89,90,91,76,53,22], [8,43,70,71,72,73,74,75,52,21], [9,44,45,46,47,48,49,50,51,20], [10,11,12,13,14,15,16,17,18,19]] n,t = [int(x) for x in input().split()] list2 = [] for i in range(t): a, b = [int(x) for x in input().split()] x = list[b-1] y = x[a-1] list2.append(y) for i in list2: print(i)
Test details
Test 1
Group: 1
Verdict: WRONG ANSWER
input |
---|
10 100 1 1 1 2 1 3 1 4 ... |
correct output |
---|
1 36 35 34 33 ... |
user output |
---|
1 2 3 4 5 ... Truncated |
Test 2
Group: 2
Verdict: RUNTIME ERROR
input |
---|
1000 1000 371 263 915 322 946 880 53 738 ... |
correct output |
---|
773533 312166 206053 200080 593922 ... |
user output |
---|
(empty) |
Error:
Traceback (most recent call last): File "input/code.py", line 16, in <module> x = li...
Test 3
Group: 3
Verdict: RUNTIME ERROR
input |
---|
1000000000 1000 177757853 827347032 409613589 419171337 739269360 256524697 328695530 896842209 ... |
correct output |
---|
571375684522141210 967321186816598569 762879105851175000 370065046779516790 936897883750373771 ... |
user output |
---|
(empty) |
Error:
Traceback (most recent call last): File "input/code.py", line 16, in <module> x = li...