CSES - Datatähti 2018 alku - Results
Submission details
Task:Bittijono
Sender:nokka7
Submission time:2017-10-15 23:01:42 +0300
Language:Python3
Status:READY
Result:22
Feedback
groupverdictscore
#1ACCEPTED7
#2ACCEPTED15
#30
#40
Test results
testverdicttimegroup
#1ACCEPTED0.07 s1details
#2ACCEPTED0.09 s1details
#3ACCEPTED0.07 s1details
#4ACCEPTED0.07 s1details
#5ACCEPTED0.08 s1details
#6ACCEPTED0.06 s1details
#7ACCEPTED0.08 s1details
#8ACCEPTED0.07 s1details
#9ACCEPTED0.09 s1details
#10ACCEPTED0.06 s1details
#11ACCEPTED0.09 s2details
#12ACCEPTED0.06 s2details
#13ACCEPTED0.07 s2details
#14ACCEPTED0.05 s2details
#15ACCEPTED0.07 s2details
#16ACCEPTED0.07 s2details
#17ACCEPTED0.09 s2details
#18ACCEPTED0.07 s2details
#19ACCEPTED0.07 s2details
#20ACCEPTED0.07 s2details
#210.10 s3details
#220.08 s3details
#230.06 s3details
#240.06 s3details
#250.08 s3details
#260.07 s3details
#270.08 s3details
#280.08 s3details
#290.09 s3details
#300.07 s3details
#310.08 s4details
#320.07 s4details
#330.06 s4details
#340.08 s4details
#350.07 s4details
#360.07 s4details
#370.07 s4details
#380.07 s4details
#390.07 s4details
#400.06 s4details

Code

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

Test details

Test 1

Group: 1

Verdict: ACCEPTED

input
1

correct output
1

user output
 0 

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)

Test 22

Group: 3

Verdict:

input
897

correct output
11101001101010

user output
(empty)

Test 23

Group: 3

Verdict:

input
4466

correct output
111101010110100101

user output
(empty)

Test 24

Group: 3

Verdict:

input
4240

correct output
11011001011010101

user output
(empty)

Test 25

Group: 3

Verdict:

input
3089

correct output
1011001010100101

user output
(empty)

Test 26

Group: 3

Verdict:

input
4697

correct output
11010101101010110

user output
(empty)

Test 27

Group: 3

Verdict:

input
4608

correct output
11010110101001010

user output
(empty)

Test 28

Group: 3

Verdict:

input
4625

correct output
111011001100101001

user output
(empty)

Test 29

Group: 3

Verdict:

input
4611

correct output
11010101010101100

user output
(empty)

Test 30

Group: 3

Verdict:

input
4917

correct output
10110100101010110

user output
(empty)

Test 31

Group: 4

Verdict:

input
178555

correct output
1011010110110101010110110

user output
(empty)

Test 32

Group: 4

Verdict:

input
864856

correct output
10111010110110100100101010010

user output
(empty)

Test 33

Group: 4

Verdict:

input
112146

correct output
1101110101011001100100110

user output
(empty)

Test 34

Group: 4

Verdict:

input
741124

correct output
1011010011010101100101011010

user output
(empty)

Test 35

Group: 4

Verdict:

input
511902

correct output
1011010100011010100101001110

user output
(empty)

Test 36

Group: 4

Verdict:

input
920019

correct output
11100100101101010101001101010

user output
(empty)

Test 37

Group: 4

Verdict:

input
933943

correct output
10101011010100100110100111001

user output
(empty)

Test 38

Group: 4

Verdict:

input
973410

correct output
1011010101011010101010101001

user output
(empty)

Test 39

Group: 4

Verdict:

input
954943

correct output
10110110010011010100100110101

user output
(empty)

Test 40

Group: 4

Verdict:

input
911674

correct output
1010110010110101010101010110

user output
(empty)