Task: | Fraktaali |
Sender: | muhk3l1 |
Submission time: | 2017-10-13 23:49:48 +0300 |
Language: | Python2 |
Status: | READY |
Result: | 60 |
group | verdict | score |
---|---|---|
#1 | ACCEPTED | 10 |
#2 | ACCEPTED | 10 |
#3 | ACCEPTED | 10 |
#4 | ACCEPTED | 10 |
#5 | ACCEPTED | 10 |
#6 | ACCEPTED | 10 |
#7 | WRONG ANSWER | 0 |
#8 | WRONG ANSWER | 0 |
#9 | WRONG ANSWER | 0 |
#10 | WRONG ANSWER | 0 |
test | verdict | time | group | |
---|---|---|---|---|
#1 | ACCEPTED | 0.05 s | 1 | details |
#2 | ACCEPTED | 0.06 s | 2 | details |
#3 | ACCEPTED | 0.06 s | 3 | details |
#4 | ACCEPTED | 0.09 s | 4 | details |
#5 | ACCEPTED | 0.07 s | 5 | details |
#6 | ACCEPTED | 0.06 s | 6 | details |
#7 | WRONG ANSWER | 0.06 s | 7 | details |
#8 | WRONG ANSWER | 0.07 s | 8 | details |
#9 | WRONG ANSWER | 0.07 s | 9 | details |
#10 | WRONG ANSWER | 0.06 s | 10 | details |
Code
a = "########" b = "#.#.#.#." c = "##..##.." d = "#..##..#" e = "####...." f = "#.#..#.#" g = "##....##" h = "#..#.##." q = "........" r = ".#.#.#.#" s = "..##..##" t = ".##..##." u = "....####" v = ".#.##.#." w = "..####.." z = ".##.#..#" Fraktaali = raw_input("") if Fraktaali == "4": print "########" print "#.#.#.#." print "##..##.." print "#..##..#" print "####...." print "#.#..#.#" print "##....##" print "#..#.##." elif Fraktaali == "1": print "#" elif Fraktaali == "2": print "##" print "#." elif Fraktaali == "3": print "####" print "#.#." print "##.." print "#..#" elif Fraktaali == "5": print 2*a print 2*b print 2*c print 2*d print 2*e print 2*f print 2*g print 2*h print a + "........" print b + ".#.#.#.#" print c + "..##..##" print d + ".##..##." print e + "....####" print f + ".#.##.#." print g + "..####.." print h + ".##.#..#" elif Fraktaali == "6": print 2*a*2 print 2*b*2 print 2*c*2 print 2*d*2 print 2*e*2 print 2*f*2 print 2*g*2 print 2*h*2 print 2*(a+"........") print 2*(b+".#.#.#.#") print 2*(c+"..##..##") print 2*(d+".##..##.") print 2*(e+"....####") print 2*(f+".#.##.#.") print 2*(g+"..####..") print 2*(h+".##.#..#") print 2*a+2*q print 2*b+2*r print 2*c+2*s print 2*d+2*t print 2*e+2*u print 2*f+2*v print 2*g+2*w print 2*h+2*z print a + "........" + "........" +a print b + ".#.#.#.#" + ".#.#.#.#" +b print c + "..##..##" + "..##..##" +c print d + ".##..##." + ".##..##." +d print e + "....####" + "....####" +e print f + ".#.##.#." + ".#.##.#." +f print g + "..####.." + "..####.." +g print h + ".##.#..#" + ".##.#..#" +h
Test details
Test 1
Group: 1
Verdict: ACCEPTED
input |
---|
1 |
correct output |
---|
# |
user output |
---|
# |
Test 2
Group: 2
Verdict: ACCEPTED
input |
---|
2 |
correct output |
---|
## #. |
user output |
---|
## #. |
Test 3
Group: 3
Verdict: ACCEPTED
input |
---|
3 |
correct output |
---|
#### #.#. ##.. #..# |
user output |
---|
#### #.#. ##.. #..# |
Test 4
Group: 4
Verdict: ACCEPTED
input |
---|
4 |
correct output |
---|
######## #.#.#.#. ##..##.. #..##..# ####.... ... |
user output |
---|
######## #.#.#.#. ##..##.. #..##..# ####.... ... |
Test 5
Group: 5
Verdict: ACCEPTED
input |
---|
5 |
correct output |
---|
################ #.#.#.#.#.#.#.#. ##..##..##..##.. #..##..##..##..# ####....####.... ... |
user output |
---|
################ #.#.#.#.#.#.#.#. ##..##..##..##.. #..##..##..##..# ####....####.... ... |
Test 6
Group: 6
Verdict: ACCEPTED
input |
---|
6 |
correct output |
---|
##############################... |
user output |
---|
##############################... |
Test 7
Group: 7
Verdict: WRONG ANSWER
input |
---|
7 |
correct output |
---|
##############################... |
user output |
---|
(empty) |
Test 8
Group: 8
Verdict: WRONG ANSWER
input |
---|
8 |
correct output |
---|
##############################... |
user output |
---|
(empty) |
Test 9
Group: 9
Verdict: WRONG ANSWER
input |
---|
9 |
correct output |
---|
##############################... |
user output |
---|
(empty) |
Test 10
Group: 10
Verdict: WRONG ANSWER
input |
---|
10 |
correct output |
---|
##############################... |
user output |
---|
(empty) |