| Task: | Ratsun reitit |
| Sender: | Uumas |
| Submission time: | 2020-10-03 04:08:21 +0300 |
| Language: | Python3 (PyPy3) |
| Status: | READY |
| Result: | 0 |
| group | verdict | score |
|---|---|---|
| #1 | WRONG ANSWER | 0 |
| #2 | WRONG ANSWER | 0 |
| #3 | WRONG ANSWER | 0 |
| test | verdict | time | group | |
|---|---|---|---|---|
| #1 | WRONG ANSWER | 0.05 s | 1, 2, 3 | details |
| #2 | WRONG ANSWER | 0.05 s | 1, 2, 3 | details |
| #3 | WRONG ANSWER | 0.05 s | 1, 2, 3 | details |
| #4 | WRONG ANSWER | 0.05 s | 1, 2, 3 | details |
| #5 | WRONG ANSWER | 0.05 s | 1, 2, 3 | details |
| #6 | WRONG ANSWER | 0.05 s | 1, 2, 3 | details |
| #7 | WRONG ANSWER | 0.05 s | 1, 2, 3 | details |
| #8 | RUNTIME ERROR | 0.07 s | 2, 3 | details |
| #9 | RUNTIME ERROR | 0.07 s | 2, 3 | details |
| #10 | RUNTIME ERROR | 0.07 s | 2, 3 | details |
| #11 | RUNTIME ERROR | 0.07 s | 3 | details |
| #12 | RUNTIME ERROR | 0.08 s | 3 | details |
| #13 | RUNTIME ERROR | 0.07 s | 3 | details |
Code
#!/usr/bin/env python3
n = int(input())
output = [[0, 3, 2, 5, 2, 3, 4, 5, 4, 5],
[3, 4, 1, 2, 3, 4, 3, 4, 5, 6],
[2, 1, 4, 3, 2, 3, 4, 5, 4, 5],
[5, 2, 3, 2, 3, 4, 3, 4, 5, 6],
[2, 3, 2, 3, 4, 3, 4, 5, 4, 5],
[3, 4, 3, 4, 3, 4, 5, 4, 5, 6],
[4, 3, 4, 3, 4, 5, 4, 5, 6, 5],
[5, 4, 5, 4, 5, 4, 5, 6, 5, 6],
[4, 5, 4, 5, 4, 5, 6, 5, 6, 7],
[5, 6, 5, 6, 5, 6, 5, 6, 7, 6]]
for i in range(n):
for j in range(n):
print(output[i -1][j - 1], end=' ')
print()Test details
Test 1
Group: 1, 2, 3
Verdict: WRONG ANSWER
| input |
|---|
| 4 |
| correct output |
|---|
| 0 3 2 5 3 4 1 2 2 1 4 3 5 2 3 2 |
| user output |
|---|
| 6 5 6 5 5 0 3 2 6 3 4 1 5 2 1 4 |
Test 2
Group: 1, 2, 3
Verdict: WRONG ANSWER
| input |
|---|
| 5 |
| correct output |
|---|
| 0 3 2 3 2 3 4 1 2 3 2 1 4 3 2 3 2 3 2 3 2 3 2 3 4 |
| user output |
|---|
| 6 5 6 5 6 5 0 3 2 5 6 3 4 1 2 5 2 1 4 3 6 5 2 3 2 |
Test 3
Group: 1, 2, 3
Verdict: WRONG ANSWER
| input |
|---|
| 6 |
| correct output |
|---|
| 0 3 2 3 2 3 3 4 1 2 3 4 2 1 4 3 2 3 3 2 3 2 3 4 2 3 2 3 4 3 ... |
| user output |
|---|
| 6 5 6 5 6 5 5 0 3 2 5 2 6 3 4 1 2 3 5 2 1 4 3 2 6 5 2 3 2 3 ... |
Test 4
Group: 1, 2, 3
Verdict: WRONG ANSWER
| input |
|---|
| 7 |
| correct output |
|---|
| 0 3 2 3 2 3 4 3 4 1 2 3 4 3 2 1 4 3 2 3 4 3 2 3 2 3 4 3 2 3 2 3 4 3 4 ... |
| user output |
|---|
| 6 5 6 5 6 5 6 5 0 3 2 5 2 3 6 3 4 1 2 3 4 5 2 1 4 3 2 3 6 5 2 3 2 3 4 ... Truncated |
Test 5
Group: 1, 2, 3
Verdict: WRONG ANSWER
| input |
|---|
| 8 |
| correct output |
|---|
| 0 3 2 3 2 3 4 5 3 4 1 2 3 4 3 4 2 1 4 3 2 3 4 5 3 2 3 2 3 4 3 4 2 3 2 3 4 3 4 5 ... |
| user output |
|---|
| 6 5 6 5 6 5 6 5 5 0 3 2 5 2 3 4 6 3 4 1 2 3 4 3 5 2 1 4 3 2 3 4 6 5 2 3 2 3 4 3 ... Truncated |
Test 6
Group: 1, 2, 3
Verdict: WRONG ANSWER
| input |
|---|
| 9 |
| correct output |
|---|
| 0 3 2 3 2 3 4 5 4 3 4 1 2 3 4 3 4 5 2 1 4 3 2 3 4 5 4 3 2 3 2 3 4 3 4 5 2 3 2 3 4 3 4 5 4 ... |
| user output |
|---|
| 6 5 6 5 6 5 6 5 6 5 0 3 2 5 2 3 4 5 6 3 4 1 2 3 4 3 4 5 2 1 4 3 2 3 4 5 6 5 2 3 2 3 4 ... Truncated |
Test 7
Group: 1, 2, 3
Verdict: WRONG ANSWER
| input |
|---|
| 10 |
| correct output |
|---|
| 0 3 2 3 2 3 4 5 4 5 3 4 1 2 3 4 3 4 5 6 2 1 4 3 2 3 4 5 4 5 3 2 3 2 3 4 3 4 5 6 2 3 2 3 4 3 4 5 4 5 ... |
| user output |
|---|
| 6 5 6 5 6 5 6 5 6 7 5 0 3 2 5 2 3 4 5 4 6 3 4 1 2 3 4 3 4 5 5 2 1 4 3 2 3 4 5 4 6 5 2 ... Truncated |
Test 8
Group: 2, 3
Verdict: RUNTIME ERROR
| input |
|---|
| 25 |
| correct output |
|---|
| 0 3 2 3 2 3 4 5 4 5 6 7 6 7 8 ... |
| user output |
|---|
| 6 5 6 5 6 5 6 5 6 7 6 |
Error:
Traceback (most recent call last):
File "input/code.py", line 18, in <module>
print(...Test 9
Group: 2, 3
Verdict: RUNTIME ERROR
| input |
|---|
| 49 |
| correct output |
|---|
| 0 3 2 3 2 3 4 5 4 5 6 7 6 7 8 ... |
| user output |
|---|
| 6 5 6 5 6 5 6 5 6 7 6 |
Error:
Traceback (most recent call last):
File "input/code.py", line 18, in <module>
print(...Test 10
Group: 2, 3
Verdict: RUNTIME ERROR
| input |
|---|
| 50 |
| correct output |
|---|
| 0 3 2 3 2 3 4 5 4 5 6 7 6 7 8 ... |
| user output |
|---|
| 6 5 6 5 6 5 6 5 6 7 6 |
Error:
Traceback (most recent call last):
File "input/code.py", line 18, in <module>
print(...Test 11
Group: 3
Verdict: RUNTIME ERROR
| input |
|---|
| 75 |
| correct output |
|---|
| 0 3 2 3 2 3 4 5 4 5 6 7 6 7 8 ... |
| user output |
|---|
| 6 5 6 5 6 5 6 5 6 7 6 |
Error:
Traceback (most recent call last):
File "input/code.py", line 18, in <module>
print(...Test 12
Group: 3
Verdict: RUNTIME ERROR
| input |
|---|
| 99 |
| correct output |
|---|
| 0 3 2 3 2 3 4 5 4 5 6 7 6 7 8 ... |
| user output |
|---|
| 6 5 6 5 6 5 6 5 6 7 6 |
Error:
Traceback (most recent call last):
File "input/code.py", line 18, in <module>
print(...Test 13
Group: 3
Verdict: RUNTIME ERROR
| input |
|---|
| 100 |
| correct output |
|---|
| 0 3 2 3 2 3 4 5 4 5 6 7 6 7 8 ... |
| user output |
|---|
| 6 5 6 5 6 5 6 5 6 7 6 |
Error:
Traceback (most recent call last):
File "input/code.py", line 18, in <module>
print(...