| Task: | Fraktaali |
| Sender: | Uolevi |
| Submission time: | 2017-10-05 13:52:05 +0300 |
| Language: | Python3 |
| Status: | READY |
| Result: | 0 |
| group | verdict | score |
|---|---|---|
| #1 | RUNTIME ERROR | 0 |
| #2 | RUNTIME ERROR | 0 |
| #3 | RUNTIME ERROR | 0 |
| #4 | RUNTIME ERROR | 0 |
| #5 | RUNTIME ERROR | 0 |
| #6 | RUNTIME ERROR | 0 |
| #7 | RUNTIME ERROR | 0 |
| #8 | RUNTIME ERROR | 0 |
| #9 | RUNTIME ERROR | 0 |
| #10 | RUNTIME ERROR | 0 |
| test | verdict | time | group | |
|---|---|---|---|---|
| #1 | RUNTIME ERROR | 0.09 s | 1 | details |
| #2 | RUNTIME ERROR | 0.06 s | 2 | details |
| #3 | RUNTIME ERROR | 0.11 s | 3 | details |
| #4 | RUNTIME ERROR | 0.09 s | 4 | details |
| #5 | RUNTIME ERROR | 0.09 s | 5 | details |
| #6 | RUNTIME ERROR | 0.07 s | 6 | details |
| #7 | RUNTIME ERROR | 0.09 s | 7 | details |
| #8 | RUNTIME ERROR | 0.10 s | 8 | details |
| #9 | RUNTIME ERROR | 0.08 s | 9 | details |
| #10 | RUNTIME ERROR | 0.08 s | 10 | details |
Code
array = [["#"]]
def funct(array):
array2 = []
for i in array:
if i == "#":
array2.append(".")
elif i == ".":
array2.append("#")
array2 = "".join(array2)
return array2
for q in range(1,10):
array.append([])
for i in array[-2]:
string = str(i*2)
array[-1].append(string)
for i in array[-2]:
string = str(i+funct(i))
array[-1].append(string)
for i in range(0,10):
inputti = int(input(""))
for j in array[inputti-1]:
print(j)
Test details
Test 1
Group: 1
Verdict: RUNTIME ERROR
| input |
|---|
| 1 |
| correct output |
|---|
| # |
| user output |
|---|
| # |
Error:
Traceback (most recent call last):
File "input/code.py", line 21, in <module>
inputti = int(input(""))
EOFError: EOF when reading a lineTest 2
Group: 2
Verdict: RUNTIME ERROR
| input |
|---|
| 2 |
| correct output |
|---|
| ## #. |
| user output |
|---|
| ## #. |
Error:
Traceback (most recent call last):
File "input/code.py", line 21, in <module>
inputti = int(input(""))
EOFError: EOF when reading a lineTest 3
Group: 3
Verdict: RUNTIME ERROR
| input |
|---|
| 3 |
| correct output |
|---|
| #### #.#. ##.. #..# |
| user output |
|---|
| #### #.#. ##.. #..# |
Error:
Traceback (most recent call last):
File "input/code.py", line 21, in <module>
inputti = int(input(""))
EOFError: EOF when reading a lineTest 4
Group: 4
Verdict: RUNTIME ERROR
| input |
|---|
| 4 |
| correct output |
|---|
| ######## #.#.#.#. ##..##.. #..##..# ####.... ... |
| user output |
|---|
| ######## #.#.#.#. ##..##.. #..##..# ####.... ... |
Error:
Traceback (most recent call last):
File "input/code.py", line 21, in <module>
inputti = int(input(""))
EOFError: EOF when reading a lineTest 5
Group: 5
Verdict: RUNTIME ERROR
| input |
|---|
| 5 |
| correct output |
|---|
| ################ #.#.#.#.#.#.#.#. ##..##..##..##.. #..##..##..##..# ####....####.... ... |
| user output |
|---|
| ################ #.#.#.#.#.#.#.#. ##..##..##..##.. #..##..##..##..# ####....####.... ... |
Error:
Traceback (most recent call last):
File "input/code.py", line 21, in <module>
inputti = int(input(""))
EOFError: EOF when reading a lineTest 6
Group: 6
Verdict: RUNTIME ERROR
| input |
|---|
| 6 |
| correct output |
|---|
| ##############################... |
| user output |
|---|
| ##############################... |
Error:
Traceback (most recent call last):
File "input/code.py", line 21, in <module>
inputti = int(input(""))
EOFError: EOF when reading a lineTest 7
Group: 7
Verdict: RUNTIME ERROR
| input |
|---|
| 7 |
| correct output |
|---|
| ##############################... |
| user output |
|---|
| ##############################... |
Error:
Traceback (most recent call last):
File "input/code.py", line 21, in <module>
inputti = int(input(""))
EOFError: EOF when reading a lineTest 8
Group: 8
Verdict: RUNTIME ERROR
| input |
|---|
| 8 |
| correct output |
|---|
| ##############################... |
| user output |
|---|
| ##############################... |
Error:
Traceback (most recent call last):
File "input/code.py", line 21, in <module>
inputti = int(input(""))
EOFError: EOF when reading a lineTest 9
Group: 9
Verdict: RUNTIME ERROR
| input |
|---|
| 9 |
| correct output |
|---|
| ##############################... |
| user output |
|---|
| ##############################... |
Error:
Traceback (most recent call last):
File "input/code.py", line 21, in <module>
inputti = int(input(""))
EOFError: EOF when reading a lineTest 10
Group: 10
Verdict: RUNTIME ERROR
| input |
|---|
| 10 |
| correct output |
|---|
| ##############################... |
| user output |
|---|
| ##############################... |
Error:
Traceback (most recent call last):
File "input/code.py", line 21, in <module>
inputti = int(input(""))
EOFError: EOF when reading a line