Code Submission Evaluation System Login

Datatähti 2018 alku

Start:2017-10-02 00:00:00
End:2017-10-16 00:00:00
 

Tasks | Messages | Scoreboard | Statistics


CSES - Datatähti 2018 alku - Results
History
2017-10-11 20:45:4830
2017-10-11 20:44:1820
2017-10-11 10:52:4020
Task:Fraktaali
Sender:Erhad
Submission time:2017-10-11 20:45:48
Language:Python3
Status:READY
Score:30

Feedback

groupverdictscore
#1ACCEPTED10
#2ACCEPTED10
#3ACCEPTED10
#4RUNTIME ERROR0
#5RUNTIME ERROR0
#6RUNTIME ERROR0
#7RUNTIME ERROR0
#8RUNTIME ERROR0
#9RUNTIME ERROR0
#10RUNTIME ERROR0

Test results

testverdicttime (s)group
#1ACCEPTED0.08 / 1.001details
#2ACCEPTED0.07 / 1.002details
#3ACCEPTED0.07 / 1.003details
#4RUNTIME ERROR0.08 / 1.004details
#5RUNTIME ERROR0.09 / 1.005details
#6RUNTIME ERROR0.09 / 1.006details
#7RUNTIME ERROR0.06 / 1.007details
#8RUNTIME ERROR0.08 / 1.008details
#9RUNTIME ERROR0.06 / 1.009details
#10RUNTIME ERROR0.08 / 1.0010details

Code

fractal=[]
fractal.append("#")
fractal.append("##\n#.")
fractal.append("####\n#.#.\n##..\n#..#")
print(fractal[int(input())-1])

Test details

Test 1

Group: 1

Verdict: ACCEPTED

input
1
view   save

correct output
#
view   save

user output
#
view   save

Test 2

Group: 2

Verdict: ACCEPTED

input
2
view   save

correct output
##
#.
view   save

user output
##
#.
view   save

Test 3

Group: 3

Verdict: ACCEPTED

input
3
view   save

correct output
####
#.#.
##..
#..#
view   save

user output
####
#.#.
##..
#..#
view   save

Test 4

Group: 4

Verdict: RUNTIME ERROR

input
4
view   save

correct output
########
#.#.#.#.
##..##..
#..##..#
####....
#.#..#.#
##....##
#..#.##.
view   save

user output
(no output)
view   save

Error:
Traceback (most recent call last):
  File "input/code.py", line 5, in <module>
    print(fractal[int(input())-1])
IndexError: list index out of range

Test 5

Group: 5

Verdict: RUNTIME ERROR

input
5
view   save

correct output
################
#.#.#.#.#.#.#.#.
##..##..##..##..
#..##..##..##..#
####....####....
#.#..#.##.#..#.#
##....####....##
#..#.##.#..#.##.
########........
#.#.#.#..#.#.#.#
##..##....##..##
#..##..#.##..##.
####........####
#.#..#.#.#.##.#.
##....##..####..
#..#.##..##.#..#
view   save

user output
(no output)
view   save

Error:
Traceback (most recent call last):
  File "input/code.py", line 5, in <module>
    print(fractal[int(input())-1])
IndexError: list index out of range

Test 6

Group: 6

Verdict: RUNTIME ERROR

input
6
view   save

correct output
##############################...
#.#.#.#.#.#.#.#.#.#.#.#.#.#.#....
##..##..##..##..##..##..##..##...
#..##..##..##..##..##..##..##....
####....####....####....####.....
#.#..#.##.#..#.##.#..#.##.#..#...
##....####....####....####.......
#..#.##.#..#.##.#..#.##.#..#.#...
########........########.........
#.#.#.#..#.#.#.##.#.#.#..#.#.#...
##..##....##..####..##....##.....
#..##..#.##..##.#..##..#.##..#...
####........########........##...
#.#..#.#.#.##.#.#.#..#.#.#.##....
##....##..####..##....##..####...
#..#.##..##.#..##..#.##..##.#....
################.................
#.#.#.#.#.#.#.#..#.#.#.#.#.#.#...
##..##..##..##....##..##..##.....
#..##..##..##..#.##..##..##..#...
...
view   save

user output
(no output)
view   save

Error:
Traceback (most recent call last):
  File "input/code.py", line 5, in <module>
    print(fractal[int(input())-1])
IndexError: list index out of range

Test 7

Group: 7

Verdict: RUNTIME ERROR

input
7
view   save

correct output
##############################...
#.#.#.#.#.#.#.#.#.#.#.#.#.#.#....
##..##..##..##..##..##..##..##...
#..##..##..##..##..##..##..##....
####....####....####....####.....
#.#..#.##.#..#.##.#..#.##.#..#...
##....####....####....####.......
#..#.##.#..#.##.#..#.##.#..#.#...
########........########.........
#.#.#.#..#.#.#.##.#.#.#..#.#.#...
##..##....##..####..##....##.....
#..##..#.##..##.#..##..#.##..#...
####........########........##...
#.#..#.#.#.##.#.#.#..#.#.#.##....
##....##..####..##....##..####...
#..#.##..##.#..##..#.##..
view   save

user output
(no output)
view   save

Error:
Traceback (most recent call last):
  File "input/code.py", line 5, in <module>
    print(fractal[int(input())-1])
IndexError: list index out of range

Test 8

Group: 8

Verdict: RUNTIME ERROR

input
8
view   save

correct output
##############################...
#.#.#.#.#.#.#.#.#.#.#.#.#.#.#....
##..##..##..##..##..##..##..##...
#..##..##..##..##..##..##..##....
####....####....####....####.....
#.#..#.##.#..#.##.#..#.##.#..#...
##....####....####....####.......
#..#.##.#..#.##.#..#.##.#..#.#...
view   save

user output
(no output)
view   save

Error:
Traceback (most recent call last):
  File "input/code.py", line 5, in <module>
    print(fractal[int(input())-1])
IndexError: list index out of range

Test 9

Group: 9

Verdict: RUNTIME ERROR

input
9
view   save

correct output
##############################...
#.#.#.#.#.#.#.#.#.#.#.#.#.#.#....
##..##..##..##..##..##..##..##...
#..##..##..##..##..##..##..##....
view   save

user output
(no output)
view   save

Error:
Traceback (most recent call last):
  File "input/code.py", line 5, in <module>
    print(fractal[int(input())-1])
IndexError: list index out of range

Test 10

Group: 10

Verdict: RUNTIME ERROR

input
10
view   save

correct output
##############################...
#.#.#.#.#.#.#.#.#.#.#.#.#.#.#....
view   save

user output
(no output)
view   save

Error:
Traceback (most recent call last):
  File "input/code.py", line 5, in <module>
    print(fractal[int(input())-1])
IndexError: list index out of range