QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#647660#8110. Additionrotcar07AC ✓17ms11392kbPython3227b2024-10-17 15:07:472024-10-17 15:07:50

Judging History

你现在查看的是最新测评结果

  • [2024-10-17 15:07:50]
  • 评测
  • 测评结果:AC
  • 用时:17ms
  • 内存:11392kb
  • [2024-10-17 15:07:47]
  • 提交

answer

print('''24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0
''')

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 11ms
memory: 10612kb

input:

1

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #2:

score: 0
Accepted
time: 16ms
memory: 10568kb

input:

2

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #3:

score: 0
Accepted
time: 16ms
memory: 10564kb

input:

3

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #4:

score: 0
Accepted
time: 13ms
memory: 10612kb

input:

4

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #5:

score: 0
Accepted
time: 10ms
memory: 10520kb

input:

5

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #6:

score: 0
Accepted
time: 15ms
memory: 10572kb

input:

6

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #7:

score: 0
Accepted
time: 16ms
memory: 10456kb

input:

7

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #8:

score: 0
Accepted
time: 16ms
memory: 10480kb

input:

8

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #9:

score: 0
Accepted
time: 15ms
memory: 10608kb

input:

9

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #10:

score: 0
Accepted
time: 13ms
memory: 10452kb

input:

10

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #11:

score: 0
Accepted
time: 12ms
memory: 10568kb

input:

11

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #12:

score: 0
Accepted
time: 10ms
memory: 10568kb

input:

12

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #13:

score: 0
Accepted
time: 9ms
memory: 10476kb

input:

13

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #14:

score: 0
Accepted
time: 8ms
memory: 10444kb

input:

14

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #15:

score: 0
Accepted
time: 15ms
memory: 10452kb

input:

15

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #16:

score: 0
Accepted
time: 15ms
memory: 10452kb

input:

16

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #17:

score: 0
Accepted
time: 16ms
memory: 10484kb

input:

17

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #18:

score: 0
Accepted
time: 13ms
memory: 10608kb

input:

18

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #19:

score: 0
Accepted
time: 11ms
memory: 10392kb

input:

19

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #20:

score: 0
Accepted
time: 8ms
memory: 10568kb

input:

20

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #21:

score: 0
Accepted
time: 16ms
memory: 10512kb

input:

21

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #22:

score: 0
Accepted
time: 6ms
memory: 10396kb

input:

22

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #23:

score: 0
Accepted
time: 12ms
memory: 10508kb

input:

23

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #24:

score: 0
Accepted
time: 10ms
memory: 10456kb

input:

24

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #25:

score: 0
Accepted
time: 16ms
memory: 10508kb

input:

25

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #26:

score: 0
Accepted
time: 16ms
memory: 10480kb

input:

26

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #27:

score: 0
Accepted
time: 8ms
memory: 10508kb

input:

27

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #28:

score: 0
Accepted
time: 10ms
memory: 10512kb

input:

28

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #29:

score: 0
Accepted
time: 8ms
memory: 10448kb

input:

29

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #30:

score: 0
Accepted
time: 11ms
memory: 10512kb

input:

30

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #31:

score: 0
Accepted
time: 13ms
memory: 10444kb

input:

31

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #32:

score: 0
Accepted
time: 12ms
memory: 10568kb

input:

32

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #33:

score: 0
Accepted
time: 8ms
memory: 10508kb

input:

33

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #34:

score: 0
Accepted
time: 0ms
memory: 10572kb

input:

34

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #35:

score: 0
Accepted
time: 12ms
memory: 10392kb

input:

35

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #36:

score: 0
Accepted
time: 16ms
memory: 10396kb

input:

36

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #37:

score: 0
Accepted
time: 16ms
memory: 10480kb

input:

37

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #38:

score: 0
Accepted
time: 16ms
memory: 10572kb

input:

38

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #39:

score: 0
Accepted
time: 11ms
memory: 11392kb

input:

39

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #40:

score: 0
Accepted
time: 11ms
memory: 10508kb

input:

40

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #41:

score: 0
Accepted
time: 10ms
memory: 10452kb

input:

41

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #42:

score: 0
Accepted
time: 13ms
memory: 10508kb

input:

42

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #43:

score: 0
Accepted
time: 11ms
memory: 10508kb

input:

43

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #44:

score: 0
Accepted
time: 17ms
memory: 10476kb

input:

44

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #45:

score: 0
Accepted
time: 11ms
memory: 10512kb

input:

45

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #46:

score: 0
Accepted
time: 17ms
memory: 10572kb

input:

46

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #47:

score: 0
Accepted
time: 4ms
memory: 10480kb

input:

47

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #48:

score: 0
Accepted
time: 16ms
memory: 10504kb

input:

48

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #49:

score: 0
Accepted
time: 8ms
memory: 10476kb

input:

49

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #50:

score: 0
Accepted
time: 14ms
memory: 10396kb

input:

50

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #51:

score: 0
Accepted
time: 16ms
memory: 10452kb

input:

51

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #52:

score: 0
Accepted
time: 16ms
memory: 10508kb

input:

52

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #53:

score: 0
Accepted
time: 17ms
memory: 10392kb

input:

53

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #54:

score: 0
Accepted
time: 16ms
memory: 10504kb

input:

54

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #55:

score: 0
Accepted
time: 11ms
memory: 10420kb

input:

55

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #56:

score: 0
Accepted
time: 10ms
memory: 10452kb

input:

56

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #57:

score: 0
Accepted
time: 3ms
memory: 10512kb

input:

57

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #58:

score: 0
Accepted
time: 14ms
memory: 10608kb

input:

58

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #59:

score: 0
Accepted
time: 11ms
memory: 10484kb

input:

59

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #60:

score: 0
Accepted
time: 17ms
memory: 10508kb

input:

60

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #61:

score: 0
Accepted
time: 17ms
memory: 10612kb

input:

61

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #62:

score: 0
Accepted
time: 12ms
memory: 10508kb

input:

62

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #63:

score: 0
Accepted
time: 17ms
memory: 10584kb

input:

63

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #64:

score: 0
Accepted
time: 8ms
memory: 10472kb

input:

64

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #65:

score: 0
Accepted
time: 16ms
memory: 10504kb

input:

65

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #66:

score: 0
Accepted
time: 10ms
memory: 10480kb

input:

66

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #67:

score: 0
Accepted
time: 11ms
memory: 10452kb

input:

67

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #68:

score: 0
Accepted
time: 16ms
memory: 10452kb

input:

68

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #69:

score: 0
Accepted
time: 16ms
memory: 10504kb

input:

69

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #70:

score: 0
Accepted
time: 8ms
memory: 10540kb

input:

70

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #71:

score: 0
Accepted
time: 12ms
memory: 10568kb

input:

71

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #72:

score: 0
Accepted
time: 8ms
memory: 10448kb

input:

72

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #73:

score: 0
Accepted
time: 8ms
memory: 10452kb

input:

73

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #74:

score: 0
Accepted
time: 13ms
memory: 10508kb

input:

74

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #75:

score: 0
Accepted
time: 12ms
memory: 10564kb

input:

75

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #76:

score: 0
Accepted
time: 16ms
memory: 10612kb

input:

76

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #77:

score: 0
Accepted
time: 7ms
memory: 10448kb

input:

77

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #78:

score: 0
Accepted
time: 13ms
memory: 10452kb

input:

78

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #79:

score: 0
Accepted
time: 10ms
memory: 10508kb

input:

79

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #80:

score: 0
Accepted
time: 17ms
memory: 10492kb

input:

80

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #81:

score: 0
Accepted
time: 16ms
memory: 10568kb

input:

81

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #82:

score: 0
Accepted
time: 16ms
memory: 10612kb

input:

82

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #83:

score: 0
Accepted
time: 11ms
memory: 10448kb

input:

83

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #84:

score: 0
Accepted
time: 10ms
memory: 10436kb

input:

84

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #85:

score: 0
Accepted
time: 14ms
memory: 10452kb

input:

85

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #86:

score: 0
Accepted
time: 16ms
memory: 10612kb

input:

86

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #87:

score: 0
Accepted
time: 10ms
memory: 10512kb

input:

87

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #88:

score: 0
Accepted
time: 16ms
memory: 10504kb

input:

88

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #89:

score: 0
Accepted
time: 12ms
memory: 10452kb

input:

89

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #90:

score: 0
Accepted
time: 8ms
memory: 10452kb

input:

90

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #91:

score: 0
Accepted
time: 11ms
memory: 10572kb

input:

91

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #92:

score: 0
Accepted
time: 13ms
memory: 10612kb

input:

92

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #93:

score: 0
Accepted
time: 14ms
memory: 10532kb

input:

93

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #94:

score: 0
Accepted
time: 16ms
memory: 10392kb

input:

94

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #95:

score: 0
Accepted
time: 10ms
memory: 10568kb

input:

95

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #96:

score: 0
Accepted
time: 13ms
memory: 10452kb

input:

96

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #97:

score: 0
Accepted
time: 12ms
memory: 10444kb

input:

97

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #98:

score: 0
Accepted
time: 9ms
memory: 10448kb

input:

98

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #99:

score: 0
Accepted
time: 11ms
memory: 10408kb

input:

99

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #100:

score: 0
Accepted
time: 12ms
memory: 10504kb

input:

100

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #101:

score: 0
Accepted
time: 0ms
memory: 10608kb

input:

101

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #102:

score: 0
Accepted
time: 16ms
memory: 10456kb

input:

102

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #103:

score: 0
Accepted
time: 9ms
memory: 10512kb

input:

103

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #104:

score: 0
Accepted
time: 9ms
memory: 10392kb

input:

104

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #105:

score: 0
Accepted
time: 8ms
memory: 10564kb

input:

105

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #106:

score: 0
Accepted
time: 16ms
memory: 10496kb

input:

106

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #107:

score: 0
Accepted
time: 16ms
memory: 10480kb

input:

107

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #108:

score: 0
Accepted
time: 12ms
memory: 10480kb

input:

108

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #109:

score: 0
Accepted
time: 12ms
memory: 10608kb

input:

109

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #110:

score: 0
Accepted
time: 11ms
memory: 10456kb

input:

110

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #111:

score: 0
Accepted
time: 9ms
memory: 10476kb

input:

111

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #112:

score: 0
Accepted
time: 13ms
memory: 10512kb

input:

112

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #113:

score: 0
Accepted
time: 13ms
memory: 10396kb

input:

113

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #114:

score: 0
Accepted
time: 9ms
memory: 10444kb

input:

114

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #115:

score: 0
Accepted
time: 5ms
memory: 10452kb

input:

115

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #116:

score: 0
Accepted
time: 9ms
memory: 10512kb

input:

116

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #117:

score: 0
Accepted
time: 11ms
memory: 10584kb

input:

117

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #118:

score: 0
Accepted
time: 11ms
memory: 10608kb

input:

118

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #119:

score: 0
Accepted
time: 16ms
memory: 10568kb

input:

119

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #120:

score: 0
Accepted
time: 16ms
memory: 10396kb

input:

120

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #121:

score: 0
Accepted
time: 9ms
memory: 10484kb

input:

121

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #122:

score: 0
Accepted
time: 10ms
memory: 10572kb

input:

122

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #123:

score: 0
Accepted
time: 12ms
memory: 10444kb

input:

123

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #124:

score: 0
Accepted
time: 15ms
memory: 10512kb

input:

124

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #125:

score: 0
Accepted
time: 16ms
memory: 10580kb

input:

125

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #126:

score: 0
Accepted
time: 16ms
memory: 10444kb

input:

126

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #127:

score: 0
Accepted
time: 8ms
memory: 10480kb

input:

127

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #128:

score: 0
Accepted
time: 11ms
memory: 10480kb

input:

128

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #129:

score: 0
Accepted
time: 16ms
memory: 10480kb

input:

129

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #130:

score: 0
Accepted
time: 10ms
memory: 10484kb

input:

130

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #131:

score: 0
Accepted
time: 13ms
memory: 10612kb

input:

131

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #132:

score: 0
Accepted
time: 8ms
memory: 10496kb

input:

132

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #133:

score: 0
Accepted
time: 12ms
memory: 10584kb

input:

133

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #134:

score: 0
Accepted
time: 8ms
memory: 10480kb

input:

134

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #135:

score: 0
Accepted
time: 16ms
memory: 10456kb

input:

135

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #136:

score: 0
Accepted
time: 10ms
memory: 10612kb

input:

136

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #137:

score: 0
Accepted
time: 10ms
memory: 10452kb

input:

137

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #138:

score: 0
Accepted
time: 7ms
memory: 10508kb

input:

138

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #139:

score: 0
Accepted
time: 10ms
memory: 10388kb

input:

139

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #140:

score: 0
Accepted
time: 12ms
memory: 10512kb

input:

140

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #141:

score: 0
Accepted
time: 16ms
memory: 10452kb

input:

141

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #142:

score: 0
Accepted
time: 8ms
memory: 10480kb

input:

142

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #143:

score: 0
Accepted
time: 11ms
memory: 10508kb

input:

143

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #144:

score: 0
Accepted
time: 10ms
memory: 10508kb

input:

144

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #145:

score: 0
Accepted
time: 13ms
memory: 10500kb

input:

145

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #146:

score: 0
Accepted
time: 15ms
memory: 10396kb

input:

146

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #147:

score: 0
Accepted
time: 9ms
memory: 10480kb

input:

147

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #148:

score: 0
Accepted
time: 13ms
memory: 10456kb

input:

148

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #149:

score: 0
Accepted
time: 8ms
memory: 10396kb

input:

149

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!

Test #150:

score: 0
Accepted
time: 11ms
memory: 10452kb

input:

150

output:

24
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +1
0+ +^0
1+ +^1
+0 +^00
+1 +^01
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0


result:

ok OK!