CSES - Datatähti 2018 alku - Results
Submission details
Task:Bittijono
Sender:Uolevi
Submission time:2017-10-15 16:58:55 +0300
Language:Python3
Status:READY
Result:22
Feedback
groupverdictscore
#1ACCEPTED7
#2ACCEPTED15
#30
#40
Test results
testverdicttimegroup
#1ACCEPTED0.10 s1details
#2ACCEPTED0.09 s1details
#3ACCEPTED0.08 s1details
#4ACCEPTED0.07 s1details
#5ACCEPTED0.08 s1details
#6ACCEPTED0.09 s1details
#7ACCEPTED0.07 s1details
#8ACCEPTED0.07 s1details
#9ACCEPTED0.07 s1details
#10ACCEPTED0.09 s1details
#11ACCEPTED0.07 s2details
#12ACCEPTED0.06 s2details
#13ACCEPTED0.09 s2details
#14ACCEPTED0.08 s2details
#15ACCEPTED0.07 s2details
#16ACCEPTED0.08 s2details
#17ACCEPTED0.07 s2details
#18ACCEPTED0.07 s2details
#19ACCEPTED0.06 s2details
#20ACCEPTED0.06 s2details
#210.08 s3details
#220.06 s3details
#230.07 s3details
#240.06 s3details
#250.07 s3details
#260.07 s3details
#270.07 s3details
#280.08 s3details
#290.08 s3details
#300.07 s3details
#310.07 s4details
#320.08 s4details
#330.05 s4details
#340.08 s4details
#350.07 s4details
#360.07 s4details
#370.09 s4details
#380.08 s4details
#390.10 s4details
#400.07 s4details

Code

inputti = int(input(""))
dic={1:"1", 2: '11', 3: '10', 4: '1111', 5: '100', 6: '101', 7: '1000', 8: '1100', 9: '1011', 10: '1001', 11: '1010', 12: '10111', 13: '11011', 14: '10001', 15: '10011', 16: '10100', 17: '10010', 18: '100001', 19: '10101', 20: '100111', 21: '100011', 22: '110011', 23: '100010', 24: '100100', 25: '101100', 26: '1010000', 27: '100110', 28: '101101', 29: '100101', 30: '1101000', 31: '1001000', 32: '101010', 33: '1011000', 34: '1011100', 35: '1010111', 36: '10000111', 37: '1000110', 38: '1101011', 39: '1000101', 40: '10000100', 41: '1001011', 42: '1010011', 43: '1001001', 44: '1001101', 45: '1010100', 46: '10111101', 47: '1010010', 48: '1001010', 49: '10000101', 50: '10110111', 51: '10001110', 52: '101111100', 53: '1010101', 54: '10011100', 55: '10001011', 56: '11001100', 57: '10001001', 58: '10101000', 59: '10011101', 60: '10001101', 61: '10011011', 62: '10010011', 63: '10110011', 64: '10001010', 65: '10100100', 66: '10110100', 67: '10010100', 68: '10011001', 69: '10010010', 70: '110111011', 71: '10110010', 72: '10010110', 73: '10011010', 74: '10101011', 75: '100010001', 76: '100001101', 77: '10101101', 78: '10100101', 79: '10010101', 80: '100001010', 81: '100011101', 82: '100010011', 83: '100011011', 84: '101110011', 85: '101000100', 86: '100101000', 87: '10101010', 88:"1"*88, 89: '100010100', 90: '100100010', 91: '100010010', 92: '100011001', 93: '100111001', 94: '1000011100', 95: '100100100', 96: '100010110', 97: '100110011', 98: '100111010', 99: '100011010', 100: "1001001111", 101: '101011101', 102: '100110100', 103: '100101100', 104: '101001100', 105: '100010101', 106: '101011011', 107: '100100110', 109: '100110010', 110: '100101011', 111: '1000010100', 113: '101010011', 114: '100100101', 115: '100101101', 116: '1000011001', 117: '100101001', 118: '1000100010', 119: '100110101', 120: '1000010110', 121: '101010100', 124: '1000110001', 125: '1000011010', 126: '101010010', 127: '101001010', 128: '1000101110', 129: '100101010', 131: '1000010101', 137: '1000101100', 138: '1000110100', 141: '1000100110', 142: '101010101', 145: '1000110110', 146: '1000101011', 147: '1000110010', 150: '1000100101', 153: '1000101101', 155: '1000101001', 161: '1000110101', 171: '1000101010'}
print(dic[inputti])

Test details

Test 1

Group: 1

Verdict: ACCEPTED

input
1

correct output
1

user output
1

Test 2

Group: 1

Verdict: ACCEPTED

input
2

correct output
11

user output
11

Test 3

Group: 1

Verdict: ACCEPTED

input
3

correct output
10

user output
10

Test 4

Group: 1

Verdict: ACCEPTED

input
4

correct output
1111

user output
1111

Test 5

Group: 1

Verdict: ACCEPTED

input
5

correct output
110

user output
100

Test 6

Group: 1

Verdict: ACCEPTED

input
6

correct output
101

user output
101

Test 7

Group: 1

Verdict: ACCEPTED

input
7

correct output
1110

user output
1000

Test 8

Group: 1

Verdict: ACCEPTED

input
8

correct output
1100

user output
1100

Test 9

Group: 1

Verdict: ACCEPTED

input
9

correct output
1101

user output
1011

Test 10

Group: 1

Verdict: ACCEPTED

input
10

correct output
1001

user output
1001

Test 11

Group: 2

Verdict: ACCEPTED

input
38

correct output
1101011

user output
1101011

Test 12

Group: 2

Verdict: ACCEPTED

input
13

correct output
11011

user output
11011

Test 13

Group: 2

Verdict: ACCEPTED

input
90

correct output
111001010

user output
100100010

Test 14

Group: 2

Verdict: ACCEPTED

input
25

correct output
110010

user output
101100

Test 15

Group: 2

Verdict: ACCEPTED

input
82

correct output
111001101

user output
100010011

Test 16

Group: 2

Verdict: ACCEPTED

input
94

correct output
1100011110

user output
1000011100

Test 17

Group: 2

Verdict: ACCEPTED

input
100

correct output
1111001001

user output
1001001111

Test 18

Group: 2

Verdict: ACCEPTED

input
99

correct output
110010010

user output
100011010

Test 19

Group: 2

Verdict: ACCEPTED

input
98

correct output
110110010

user output
100111010

Test 20

Group: 2

Verdict: ACCEPTED

input
92

correct output
100110001

user output
100011001

Test 21

Group: 3

Verdict:

input
1666

correct output
101101100100101

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 22

Group: 3

Verdict:

input
897

correct output
11101001101010

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 23

Group: 3

Verdict:

input
4466

correct output
111101010110100101

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 24

Group: 3

Verdict:

input
4240

correct output
11011001011010101

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 25

Group: 3

Verdict:

input
3089

correct output
1011001010100101

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 26

Group: 3

Verdict:

input
4697

correct output
11010101101010110

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 27

Group: 3

Verdict:

input
4608

correct output
11010110101001010

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 28

Group: 3

Verdict:

input
4625

correct output
111011001100101001

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 29

Group: 3

Verdict:

input
4611

correct output
11010101010101100

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 30

Group: 3

Verdict:

input
4917

correct output
10110100101010110

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 31

Group: 4

Verdict:

input
178555

correct output
1011010110110101010110110

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 32

Group: 4

Verdict:

input
864856

correct output
10111010110110100100101010010

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 33

Group: 4

Verdict:

input
112146

correct output
1101110101011001100100110

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 34

Group: 4

Verdict:

input
741124

correct output
1011010011010101100101011010

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 35

Group: 4

Verdict:

input
511902

correct output
1011010100011010100101001110

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 36

Group: 4

Verdict:

input
920019

correct output
11100100101101010101001101010

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 37

Group: 4

Verdict:

input
933943

correct output
10101011010100100110100111001

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 38

Group: 4

Verdict:

input
973410

correct output
1011010101011010101010101001

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 39

Group: 4

Verdict:

input
954943

correct output
10110110010011010100100110101

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...

Test 40

Group: 4

Verdict:

input
911674

correct output
1010110010110101010101010110

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 3, in <module>
    print(d...