CSES - Datatähti 2018 alku - Results
Submission details
Task:Bittijono
Sender:soap
Submission time:2017-10-12 15:42:57 +0300
Language:Python3
Status:READY
Result:22
Feedback
groupverdictscore
#1ACCEPTED7
#2ACCEPTED15
#30
#40
Test results
testverdicttimegroup
#1ACCEPTED0.09 s1details
#2ACCEPTED0.09 s1details
#3ACCEPTED0.06 s1details
#4ACCEPTED0.08 s1details
#5ACCEPTED0.09 s1details
#6ACCEPTED0.07 s1details
#7ACCEPTED0.08 s1details
#8ACCEPTED0.07 s1details
#9ACCEPTED0.07 s1details
#10ACCEPTED0.07 s1details
#11ACCEPTED0.08 s2details
#12ACCEPTED0.08 s2details
#13ACCEPTED0.09 s2details
#14ACCEPTED0.07 s2details
#15ACCEPTED0.08 s2details
#16ACCEPTED0.07 s2details
#17ACCEPTED0.06 s2details
#18ACCEPTED0.07 s2details
#19ACCEPTED0.09 s2details
#20ACCEPTED0.08 s2details
#210.11 s3details
#220.07 s3details
#230.10 s3details
#240.08 s3details
#250.07 s3details
#260.09 s3details
#270.07 s3details
#280.07 s3details
#290.08 s3details
#300.08 s3details
#310.11 s4details
#320.08 s4details
#330.08 s4details
#340.07 s4details
#350.10 s4details
#360.08 s4details
#370.08 s4details
#380.07 s4details
#390.08 s4details
#400.09 s4details

Code

list = [[1, '1'], [2, '11'], [3, '10'], [4, '1111'], [5, '110'], [6, '101'], [7, '1110'], [8, '1100'], [9, '1101'], [10, '1001'], [11, '1010'], [12, '11101'], [13, '11011'], [14, '10001'], [15, '11001'], [16, '11010'], [17, '10110'], [18, '100001'], [19, '10101'], [20, '111001'], [21, '111010'], [22, '110011'], [23, '110100'], [24, '110110'], [25, '110010'], [26, '1111010'], [27, '110101'], [28, '101101'], [29, '101001'], [30, '1110100'], [31, '1110110'], [32, '101010'], [33, '1110010'], [34, '1100010'], [35, '1110101'], [36, '11110011'], [37, '1011101'], [38, '1101011'], [39, '1101101'], [40, '11011110'], [41, '1101001'], [42, '1100101'], [43, '1001001'], [44, '1011001'], [45, '1101010'], [46, '11100100'], [47, '1011010'], [48, '1010110'], [49, '11101011'], [50, '11101101'], [51, '11100110'], [52, '110000010'], [53, '1010101'], [54, '11011011'], [55, '11100101'], [56, '11001100'], [57, '11000101'], [58, '11101010'], [59, '11010011'], [60, '10110001'], [61, '11011001'], [62, '11001001'], [63, '11010100'], [64, '10101110'], [65, '11011010'], [66, '11010010'], [67, '11010110'], [68, '10011001'], [69, '11001010'], [70, '110111011'], [71, '10110010'], [72, '10010110'], [73, '10100110'], [74, '11010101'], [75, '111000101'], [76, '111010011'], [77, '10110101'], [78, '10100101'], [79, '10101001'], [80, '110100011'], [81, '111010100'], [82, '111001101'], [83, '111011010'], [84, '110011101'], [85, '111010010'], [86, '111010110'], [87, '10101010'], [88, '1001110000'], [89, '110101110'], [90, '111001010'], [91, '110110100'], [92, '100110001'], [93, '110001010'], [94, '1100011110'], [95, '111010101'], [96, '110101100'], [97, '110011001'], [98, '110110010'], [99, '110010010'], [100, '1100011000'], [101, '101110101'], [102, '110100110'], [103, '110101011'], [104, '110011010'], [105, '101010001'], [106, '110110101'], [107, '110101101'], [108, '1011110100'], [109, '110100101'], [110, '110101001'], [111, '1100001101'], [112, '1011101000'], [113, '110010101'], [114, '101001001'], [115, '101101001'], [116, '1010101111'], [117, '101100101'], [118, '1011101110'], [119, '101011001'], [120, '1100011011'], [121, '110101010'], [122, '1010111000'], [123, '1010000110'], [124, '1000110001'], [125, '1011110101'], [126, '101101010'], [127, '101011010'], [128, '1011100010'], [129, '101010110'], [130, '1011000100'], [131, '1011100100'], [132, '1100010010'], [133, '1100011001'], [134, '1010001110'], [135, '1010110111'], [137, '1011010111'], [138, '1010111011'], [139, '1100010110'], [140, '1011101011'], [141, '1001101110'], [142, '101010101'], [143, '1100011010'], [144, '1010001011'], [145, '1011100110'], [146, '1000101011'], [147, '1011001110'], [149, '1011000110'], [150, '1010010001'], [151, '1011101001'], [152, '1100010101'], [153, '1011010001'], [155, '1011001100'], [156, '1011100101'], [157, '1011000101'], [158, '1001011011'], [159, '1010111001'], [161, '1010110001'], [163, '1011001011'], [164, '1011010011'], [165, '1011101010'], [166, '1001001001'], [167, '1010111010'], [169, '1010110011'], [170, '1011011001'], [171, '1011001001'], [173, '1010100100'], [174, '1011001101'], [175, '1011010100'], [176, '1010010100'], [177, '1010110100'], [179, '1010011001'], [181, '1011011010'], [183, '1011010010'], [184, '1010101100'], [185, '1010110110'], [186, '1011010110'], [189, '1010010110'], [190, '1011001010'], [191, '1001010110'], [192, '1010011010'], [194, '1010100110'], [197, '1010101011'], [205, '1011010101'], [206, '1010110101'], [207, '1010100101'], [210, '1010101001'], [231, '1010101010']]

print(list[int(input())-1][1])

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
110

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
1110

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
1101

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
111001010

Test 14

Group: 2

Verdict: ACCEPTED

input
25

correct output
110010

user output
110010

Test 15

Group: 2

Verdict: ACCEPTED

input
82

correct output
111001101

user output
111001101

Test 16

Group: 2

Verdict: ACCEPTED

input
94

correct output
1100011110

user output
1100011110

Test 17

Group: 2

Verdict: ACCEPTED

input
100

correct output
1111001001

user output
1100011000

Test 18

Group: 2

Verdict: ACCEPTED

input
99

correct output
110010010

user output
110010010

Test 19

Group: 2

Verdict: ACCEPTED

input
98

correct output
110110010

user output
110110010

Test 20

Group: 2

Verdict: ACCEPTED

input
92

correct output
100110001

user output
100110001

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(l...

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(l...

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(l...

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(l...

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(l...

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(l...

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(l...

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(l...

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(l...

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(l...

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(l...

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(l...

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(l...

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(l...

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(l...

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(l...

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(l...

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(l...

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(l...

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(l...