QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#355450#8110. Additionucup-team004#AC ✓1ms3856kbC++20976b2024-03-16 18:01:512024-03-16 18:01:51

Judging History

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

  • [2024-03-16 18:01:51]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3856kb
  • [2024-03-16 18:01:51]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
using ll =  long long;
using i64 =  long long;
#define For(i,l,r) for(int i=(int)(l);i<=(int)(r);i++)
#define PI pair<ll,int>
#define fi first
#define se second
#define mp make_pair
#define pb push_back
string yc[100];
int main() {
    std::ios::sync_with_stdio(false);
    std::cin.tie(nullptr);
    vector<string> ans;
    yc[0]='0'; yc[1]='1'; yc[2]='2';
    ans.pb("+ *a");
    For(i,0,1)ans.pb("a"+yc[i]+" "+yc[i]+"a");
    ans.pb("a b");
    For(i,0,1)ans.pb(yc[i]+"*b "+yc[i]+"*0b");
    For(i,0,1)For(j,0,1)ans.pb(yc[i]+yc[j]+"cb "+"b"+yc[i+j]);
    For(i,0,1)For(j,0,1)ans.pb(yc[i]+"c"+yc[j]+" "+yc[j]+yc[i]+"c");
    For(i,0,1)ans.pb(yc[i]+"* *"+yc[i]+"c");
    For(i,0,1)ans.pb(yc[i]+"b b"+yc[i]);
    For(i,0,1)ans.pb(yc[i]+"2 "+yc[i+1]+"0");
    ans.pb("*b2 *b10");
    For(i,0,1)ans.pb("*b"+yc[i]+" "+yc[i]);
    cout<<ans.size()<<endl;
    for(auto i:ans)cout<<i<<endl;
    return 0;
}

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3560kb

input:

1

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #2:

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

input:

2

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #3:

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

input:

3

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #4:

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

input:

4

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #5:

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

input:

5

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #6:

score: 0
Accepted
time: 1ms
memory: 3512kb

input:

6

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #7:

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

input:

7

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #8:

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

input:

8

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #9:

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

input:

9

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #10:

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

input:

10

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #11:

score: 0
Accepted
time: 1ms
memory: 3556kb

input:

11

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #12:

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

input:

12

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #13:

score: 0
Accepted
time: 1ms
memory: 3856kb

input:

13

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #14:

score: 0
Accepted
time: 1ms
memory: 3856kb

input:

14

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #15:

score: 0
Accepted
time: 1ms
memory: 3608kb

input:

15

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #16:

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

input:

16

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #17:

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

input:

17

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #18:

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

input:

18

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #19:

score: 0
Accepted
time: 1ms
memory: 3488kb

input:

19

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #20:

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

input:

20

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #21:

score: 0
Accepted
time: 1ms
memory: 3608kb

input:

21

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #22:

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

input:

22

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #23:

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

input:

23

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #24:

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

input:

24

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #25:

score: 0
Accepted
time: 1ms
memory: 3536kb

input:

25

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #26:

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

input:

26

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #27:

score: 0
Accepted
time: 1ms
memory: 3796kb

input:

27

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #28:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

28

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #29:

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

input:

29

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #30:

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

input:

30

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #31:

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

input:

31

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #32:

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

input:

32

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #33:

score: 0
Accepted
time: 1ms
memory: 3608kb

input:

33

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #34:

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

input:

34

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #35:

score: 0
Accepted
time: 1ms
memory: 3856kb

input:

35

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #36:

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

input:

36

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #37:

score: 0
Accepted
time: 1ms
memory: 3800kb

input:

37

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #38:

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

input:

38

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #39:

score: 0
Accepted
time: 1ms
memory: 3548kb

input:

39

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #40:

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

input:

40

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #41:

score: 0
Accepted
time: 1ms
memory: 3580kb

input:

41

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #42:

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

input:

42

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #43:

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

input:

43

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #44:

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

input:

44

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #45:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

45

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #46:

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

input:

46

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #47:

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

input:

47

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #48:

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

input:

48

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #49:

score: 0
Accepted
time: 1ms
memory: 3808kb

input:

49

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #50:

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

input:

50

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #51:

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

input:

51

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #52:

score: 0
Accepted
time: 1ms
memory: 3800kb

input:

52

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #53:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

53

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #54:

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

input:

54

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #55:

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

input:

55

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #56:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

56

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #57:

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

input:

57

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #58:

score: 0
Accepted
time: 1ms
memory: 3648kb

input:

58

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #59:

score: 0
Accepted
time: 1ms
memory: 3836kb

input:

59

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #60:

score: 0
Accepted
time: 1ms
memory: 3776kb

input:

60

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #61:

score: 0
Accepted
time: 1ms
memory: 3836kb

input:

61

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #62:

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

input:

62

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #63:

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

input:

63

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #64:

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

input:

64

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #65:

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

input:

65

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #66:

score: 0
Accepted
time: 1ms
memory: 3852kb

input:

66

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #67:

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

input:

67

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #68:

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

input:

68

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #69:

score: 0
Accepted
time: 1ms
memory: 3616kb

input:

69

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #70:

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

input:

70

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #71:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

71

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #72:

score: 0
Accepted
time: 1ms
memory: 3604kb

input:

72

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #73:

score: 0
Accepted
time: 1ms
memory: 3836kb

input:

73

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #74:

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

input:

74

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #75:

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

input:

75

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #76:

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

input:

76

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #77:

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

input:

77

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #78:

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

input:

78

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #79:

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

input:

79

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #80:

score: 0
Accepted
time: 1ms
memory: 3612kb

input:

80

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #81:

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

input:

81

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #82:

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

input:

82

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #83:

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

input:

83

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #84:

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

input:

84

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #85:

score: 0
Accepted
time: 1ms
memory: 3584kb

input:

85

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #86:

score: 0
Accepted
time: 1ms
memory: 3776kb

input:

86

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #87:

score: 0
Accepted
time: 1ms
memory: 3800kb

input:

87

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #88:

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

input:

88

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #89:

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

input:

89

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #90:

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

input:

90

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #91:

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

input:

91

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #92:

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

input:

92

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #93:

score: 0
Accepted
time: 1ms
memory: 3552kb

input:

93

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #94:

score: 0
Accepted
time: 1ms
memory: 3552kb

input:

94

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #95:

score: 0
Accepted
time: 1ms
memory: 3616kb

input:

95

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #96:

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

input:

96

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #97:

score: 0
Accepted
time: 1ms
memory: 3556kb

input:

97

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #98:

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

input:

98

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #99:

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

input:

99

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #100:

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

input:

100

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #101:

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

input:

101

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #102:

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

input:

102

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #103:

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

input:

103

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #104:

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

input:

104

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #105:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

105

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #106:

score: 0
Accepted
time: 1ms
memory: 3580kb

input:

106

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #107:

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

input:

107

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #108:

score: 0
Accepted
time: 1ms
memory: 3608kb

input:

108

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #109:

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

input:

109

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #110:

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

input:

110

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #111:

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

input:

111

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #112:

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

input:

112

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #113:

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

input:

113

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #114:

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

input:

114

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #115:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

115

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #116:

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

input:

116

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #117:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

117

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #118:

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

input:

118

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #119:

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

input:

119

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #120:

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

input:

120

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #121:

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

input:

121

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #122:

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

input:

122

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #123:

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

input:

123

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #124:

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

input:

124

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #125:

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

input:

125

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #126:

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

input:

126

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #127:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

127

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #128:

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

input:

128

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #129:

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

input:

129

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #130:

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

input:

130

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #131:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

131

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #132:

score: 0
Accepted
time: 1ms
memory: 3804kb

input:

132

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #133:

score: 0
Accepted
time: 1ms
memory: 3648kb

input:

133

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #134:

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

input:

134

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #135:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

135

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #136:

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

input:

136

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #137:

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

input:

137

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #138:

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

input:

138

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #139:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

139

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #140:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

140

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #141:

score: 0
Accepted
time: 1ms
memory: 3644kb

input:

141

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #142:

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

input:

142

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #143:

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

input:

143

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #144:

score: 0
Accepted
time: 1ms
memory: 3780kb

input:

144

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #145:

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

input:

145

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #146:

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

input:

146

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #147:

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

input:

147

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #148:

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

input:

148

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #149:

score: 0
Accepted
time: 1ms
memory: 3804kb

input:

149

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!

Test #150:

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

input:

150

output:

23
+ *a
a0 0a
a1 1a
a b
0*b 0*0b
1*b 1*0b
00cb b0
01cb b1
10cb b1
11cb b2
0c0 00c
0c1 10c
1c0 01c
1c1 11c
0* *0c
1* *1c
0b b0
1b b1
02 10
12 20
*b2 *b10
*b0 0
*b1 1

result:

ok OK!