CSES - Datatähti 2018 alku - Results
Submission details
Task:Fraktaali
Sender:_Serinaz_
Submission time:2017-10-11 10:01:15 +0300
Language:Python3
Status:READY
Result:10
Feedback
groupverdictscore
#1ACCEPTED10
#20
#30
#40
#50
#60
#70
#80
#90
#100
Test results
testverdicttimegroup
#1ACCEPTED0.08 s1details
#20.10 s2details
#30.08 s3details
#40.07 s4details
#50.07 s5details
#60.08 s6details
#70.08 s7details
#80.05 s8details
#90.06 s9details
#100.07 s10details

Code

#valkearuutu "."
#mustaruutu "#"
n = input() #int 

taulukko = ["#"]

def transform(taulukko):
	for i in range(0, len(taulukko)):
		if taulukko[i] == "#":
			taulukko[i] = "."
		else:
			taulukko[i] = "#"








if n=="1":
	for i in range(len(taulukko)):
		print(taulukko[i])




			

Test details

Test 1

Group: 1

Verdict: ACCEPTED

input
1

correct output
#

user output
#

Test 2

Group: 2

Verdict:

input
2

correct output
##
#.

user output
(empty)

Test 3

Group: 3

Verdict:

input
3

correct output
####
#.#.
##..
#..#

user output
(empty)

Test 4

Group: 4

Verdict:

input
4

correct output
########
#.#.#.#.
##..##..
#..##..#
####....
...

user output
(empty)

Test 5

Group: 5

Verdict:

input
5

correct output
################
#.#.#.#.#.#.#.#.
##..##..##..##..
#..##..##..##..#
####....####....
...

user output
(empty)

Test 6

Group: 6

Verdict:

input
6

correct output
##############################...

user output
(empty)

Test 7

Group: 7

Verdict:

input
7

correct output
##############################...

user output
(empty)

Test 8

Group: 8

Verdict:

input
8

correct output
##############################...

user output
(empty)

Test 9

Group: 9

Verdict:

input
9

correct output
##############################...

user output
(empty)

Test 10

Group: 10

Verdict:

input
10

correct output
##############################...

user output
(empty)