Task: | Luokittelija |
Sender: | Valtteri Ilola |
Submission time: | 2019-01-17 16:24:28 +0200 |
Language: | Python3 |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | WRONG ANSWER | 0 |
#2 | WRONG ANSWER | 0 |
#3 | WRONG ANSWER | 0 |
#4 | WRONG ANSWER | 0 |
test | verdict | time | group | |
---|---|---|---|---|
#1 | WRONG ANSWER | 0.04 s | 1 | details |
#2 | WRONG ANSWER | 0.05 s | 2 | details |
#3 | WRONG ANSWER | 0.05 s | 3 | details |
#4 | WRONG ANSWER | 0.04 s | 4 | details |
Code
from itertools import product instructions = [] input() for i in range(5, 0, -1): for p in product('10', repeat=i): p = ''.join(p) instructions.append(p * 2 + ' -> ' + '_') print(len(instructions)) print('\n'.join(instructions))
Test details
Test 1
Group: 1
Verdict: WRONG ANSWER
input |
---|
2 |
correct output |
---|
42 ED -> DE FD -> DF 1DG -> DG1 GE -> EG ... |
user output |
---|
62 1111111111 -> _ 1111011110 -> _ 1110111101 -> _ 1110011100 -> _ ... Truncated |
Test 2
Group: 2
Verdict: WRONG ANSWER
input |
---|
3 |
correct output |
---|
54 ED -> DE FD -> DF HDG -> DGH IDG -> DGI ... |
user output |
---|
62 1111111111 -> _ 1111011110 -> _ 1110111101 -> _ 1110011100 -> _ ... Truncated |
Test 3
Group: 3
Verdict: WRONG ANSWER
input |
---|
4 |
correct output |
---|
66 ED -> DE FD -> DF HDG -> DGH IDG -> DGI ... |
user output |
---|
62 1111111111 -> _ 1111011110 -> _ 1110111101 -> _ 1110011100 -> _ ... Truncated |
Test 4
Group: 4
Verdict: WRONG ANSWER
input |
---|
5 |
correct output |
---|
78 ED -> DE FD -> DF HDG -> DGH IDG -> DGI ... |
user output |
---|
62 1111111111 -> _ 1111011110 -> _ 1110111101 -> _ 1110011100 -> _ ... Truncated |