QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#810465#98. Students' LifeI_be_wannaAC ✓244ms3708kbC++171.0kb2024-12-11 22:55:302024-12-11 22:55:32

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3676kb

input:

2

output:

1 1 2 1 0 2 0
1 2 1 1 0
2 1 1 2 0
2 2 2 2 0 1 0

result:

ok good plan!

Test #2:

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

input:

1

output:

1 1 1 1 0

result:

ok good plan!

Test #3:

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

input:

3

output:

1 1 2 1 0 4 0
1 2 2 1 0 3 0
1 3 2 1 0 2 0
2 1 1 4 0
2 2 1 3 0
2 3 1 2 0
3 1 2 1 1 4 0
3 2 2 1 1 3 0
3 3 2 1 1 2 0

result:

ok good plan!

Test #4:

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

input:

4

output:

1 1 2 1 0 6 0
1 2 2 1 0 5 0
1 3 2 1 0 4 0
1 4 2 1 0 3 0
2 1 1 6 0
2 2 1 5 0
2 3 1 4 0
2 4 1 3 0
3 1 3 2 1 1 1 6 0
3 2 3 2 1 1 1 5 0
3 3 3 2 1 1 1 4 0
3 4 3 2 1 1 1 3 0
4 1 2 2 0 6 0
4 2 2 2 0 5 0
4 3 2 2 0 4 0
4 4 2 2 0 3 0

result:

ok good plan!

Test #5:

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

input:

5

output:

1 1 2 1 0 7 0
1 2 2 1 0 6 0
1 3 2 1 0 5 0
1 4 2 1 0 4 0
1 5 2 1 0 3 0
2 1 1 7 0
2 2 1 6 0
2 3 1 5 0
2 4 1 4 0
2 5 1 3 0
3 1 3 2 1 1 1 7 0
3 2 3 2 1 1 1 6 0
3 3 3 2 1 1 1 5 0
3 4 3 2 1 1 1 4 0
3 5 3 2 1 1 1 3 0
4 1 2 1 1 7 0
4 2 2 1 1 6 0
4 3 2 1 1 5 0
4 4 2 1 1 4 0
4 5 2 1 1 3 0
5 1 2 2 0 7 0
5 2 2 ...

result:

ok good plan!

Test #6:

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

input:

6

output:

1 1 2 1 0 9 0
1 2 2 1 0 8 0
1 3 2 1 0 7 0
1 4 2 1 0 6 0
1 5 2 1 0 5 0
1 6 2 1 0 4 0
2 1 1 9 0
2 2 1 8 0
2 3 1 7 0
2 4 1 6 0
2 5 1 5 0
2 6 1 4 0
3 1 3 2 1 1 1 9 0
3 2 3 2 1 1 1 8 0
3 3 3 2 1 1 1 7 0
3 4 3 2 1 1 1 6 0
3 5 3 2 1 1 1 5 0
3 6 3 2 1 1 1 4 0
4 1 3 3 1 1 1 9 0
4 2 3 3 1 1 1 8 0
4 3 3 3 1 1 ...

result:

ok good plan!

Test #7:

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

input:

7

output:

1 1 2 1 0 10 0
1 2 2 1 0 9 0
1 3 2 1 0 8 0
1 4 2 1 0 7 0
1 5 2 1 0 6 0
1 6 2 1 0 5 0
1 7 2 1 0 4 0
2 1 1 10 0
2 2 1 9 0
2 3 1 8 0
2 4 1 7 0
2 5 1 6 0
2 6 1 5 0
2 7 1 4 0
3 1 3 2 1 1 1 10 0
3 2 3 2 1 1 1 9 0
3 3 3 2 1 1 1 8 0
3 4 3 2 1 1 1 7 0
3 5 3 2 1 1 1 6 0
3 6 3 2 1 1 1 5 0
3 7 3 2 1 1 1 4 0
4 1...

result:

ok good plan!

Test #8:

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

input:

8

output:

1 1 2 1 0 12 0
1 2 2 1 0 11 0
1 3 2 1 0 10 0
1 4 2 1 0 9 0
1 5 2 1 0 8 0
1 6 2 1 0 7 0
1 7 2 1 0 6 0
1 8 2 1 0 5 0
2 1 1 12 0
2 2 1 11 0
2 3 1 10 0
2 4 1 9 0
2 5 1 8 0
2 6 1 7 0
2 7 1 6 0
2 8 1 5 0
3 1 3 2 1 1 1 12 0
3 2 3 2 1 1 1 11 0
3 3 3 2 1 1 1 10 0
3 4 3 2 1 1 1 9 0
3 5 3 2 1 1 1 8 0
3 6 3 2 1...

result:

ok good plan!

Test #9:

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

input:

9

output:

1 1 2 1 0 13 0
1 2 2 1 0 12 0
1 3 2 1 0 11 0
1 4 2 1 0 10 0
1 5 2 1 0 9 0
1 6 2 1 0 8 0
1 7 2 1 0 7 0
1 8 2 1 0 6 0
1 9 2 1 0 5 0
2 1 1 13 0
2 2 1 12 0
2 3 1 11 0
2 4 1 10 0
2 5 1 9 0
2 6 1 8 0
2 7 1 7 0
2 8 1 6 0
2 9 1 5 0
3 1 3 2 1 1 1 13 0
3 2 3 2 1 1 1 12 0
3 3 3 2 1 1 1 11 0
3 4 3 2 1 1 1 10 0
...

result:

ok good plan!

Test #10:

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

input:

10

output:

1 1 2 1 0 15 0
1 2 2 1 0 14 0
1 3 2 1 0 13 0
1 4 2 1 0 12 0
1 5 2 1 0 11 0
1 6 2 1 0 10 0
1 7 2 1 0 9 0
1 8 2 1 0 8 0
1 9 2 1 0 7 0
1 10 2 1 0 6 0
2 1 1 15 0
2 2 1 14 0
2 3 1 13 0
2 4 1 12 0
2 5 1 11 0
2 6 1 10 0
2 7 1 9 0
2 8 1 8 0
2 9 1 7 0
2 10 1 6 0
3 1 3 2 1 1 1 15 0
3 2 3 2 1 1 1 14 0
3 3 3 2 ...

result:

ok good plan!

Test #11:

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

input:

11

output:

1 1 2 1 0 16 0
1 2 2 1 0 15 0
1 3 2 1 0 14 0
1 4 2 1 0 13 0
1 5 2 1 0 12 0
1 6 2 1 0 11 0
1 7 2 1 0 10 0
1 8 2 1 0 9 0
1 9 2 1 0 8 0
1 10 2 1 0 7 0
1 11 2 1 0 6 0
2 1 1 16 0
2 2 1 15 0
2 3 1 14 0
2 4 1 13 0
2 5 1 12 0
2 6 1 11 0
2 7 1 10 0
2 8 1 9 0
2 9 1 8 0
2 10 1 7 0
2 11 1 6 0
3 1 3 2 1 1 1 16 0...

result:

ok good plan!

Test #12:

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

input:

12

output:

1 1 2 1 0 18 0
1 2 2 1 0 17 0
1 3 2 1 0 16 0
1 4 2 1 0 15 0
1 5 2 1 0 14 0
1 6 2 1 0 13 0
1 7 2 1 0 12 0
1 8 2 1 0 11 0
1 9 2 1 0 10 0
1 10 2 1 0 9 0
1 11 2 1 0 8 0
1 12 2 1 0 7 0
2 1 1 18 0
2 2 1 17 0
2 3 1 16 0
2 4 1 15 0
2 5 1 14 0
2 6 1 13 0
2 7 1 12 0
2 8 1 11 0
2 9 1 10 0
2 10 1 9 0
2 11 1 8 0...

result:

ok good plan!

Test #13:

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

input:

13

output:

1 1 2 1 0 19 0
1 2 2 1 0 18 0
1 3 2 1 0 17 0
1 4 2 1 0 16 0
1 5 2 1 0 15 0
1 6 2 1 0 14 0
1 7 2 1 0 13 0
1 8 2 1 0 12 0
1 9 2 1 0 11 0
1 10 2 1 0 10 0
1 11 2 1 0 9 0
1 12 2 1 0 8 0
1 13 2 1 0 7 0
2 1 1 19 0
2 2 1 18 0
2 3 1 17 0
2 4 1 16 0
2 5 1 15 0
2 6 1 14 0
2 7 1 13 0
2 8 1 12 0
2 9 1 11 0
2 10 ...

result:

ok good plan!

Test #14:

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

input:

14

output:

1 1 2 1 0 21 0
1 2 2 1 0 20 0
1 3 2 1 0 19 0
1 4 2 1 0 18 0
1 5 2 1 0 17 0
1 6 2 1 0 16 0
1 7 2 1 0 15 0
1 8 2 1 0 14 0
1 9 2 1 0 13 0
1 10 2 1 0 12 0
1 11 2 1 0 11 0
1 12 2 1 0 10 0
1 13 2 1 0 9 0
1 14 2 1 0 8 0
2 1 1 21 0
2 2 1 20 0
2 3 1 19 0
2 4 1 18 0
2 5 1 17 0
2 6 1 16 0
2 7 1 15 0
2 8 1 14 0...

result:

ok good plan!

Test #15:

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

input:

15

output:

1 1 2 1 0 22 0
1 2 2 1 0 21 0
1 3 2 1 0 20 0
1 4 2 1 0 19 0
1 5 2 1 0 18 0
1 6 2 1 0 17 0
1 7 2 1 0 16 0
1 8 2 1 0 15 0
1 9 2 1 0 14 0
1 10 2 1 0 13 0
1 11 2 1 0 12 0
1 12 2 1 0 11 0
1 13 2 1 0 10 0
1 14 2 1 0 9 0
1 15 2 1 0 8 0
2 1 1 22 0
2 2 1 21 0
2 3 1 20 0
2 4 1 19 0
2 5 1 18 0
2 6 1 17 0
2 7 1...

result:

ok good plan!

Test #16:

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

input:

16

output:

1 1 2 1 0 24 0
1 2 2 1 0 23 0
1 3 2 1 0 22 0
1 4 2 1 0 21 0
1 5 2 1 0 20 0
1 6 2 1 0 19 0
1 7 2 1 0 18 0
1 8 2 1 0 17 0
1 9 2 1 0 16 0
1 10 2 1 0 15 0
1 11 2 1 0 14 0
1 12 2 1 0 13 0
1 13 2 1 0 12 0
1 14 2 1 0 11 0
1 15 2 1 0 10 0
1 16 2 1 0 9 0
2 1 1 24 0
2 2 1 23 0
2 3 1 22 0
2 4 1 21 0
2 5 1 20 0...

result:

ok good plan!

Test #17:

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

input:

17

output:

1 1 2 1 0 25 0
1 2 2 1 0 24 0
1 3 2 1 0 23 0
1 4 2 1 0 22 0
1 5 2 1 0 21 0
1 6 2 1 0 20 0
1 7 2 1 0 19 0
1 8 2 1 0 18 0
1 9 2 1 0 17 0
1 10 2 1 0 16 0
1 11 2 1 0 15 0
1 12 2 1 0 14 0
1 13 2 1 0 13 0
1 14 2 1 0 12 0
1 15 2 1 0 11 0
1 16 2 1 0 10 0
1 17 2 1 0 9 0
2 1 1 25 0
2 2 1 24 0
2 3 1 23 0
2 4 1...

result:

ok good plan!

Test #18:

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

input:

18

output:

1 1 2 1 0 27 0
1 2 2 1 0 26 0
1 3 2 1 0 25 0
1 4 2 1 0 24 0
1 5 2 1 0 23 0
1 6 2 1 0 22 0
1 7 2 1 0 21 0
1 8 2 1 0 20 0
1 9 2 1 0 19 0
1 10 2 1 0 18 0
1 11 2 1 0 17 0
1 12 2 1 0 16 0
1 13 2 1 0 15 0
1 14 2 1 0 14 0
1 15 2 1 0 13 0
1 16 2 1 0 12 0
1 17 2 1 0 11 0
1 18 2 1 0 10 0
2 1 1 27 0
2 2 1 26 0...

result:

ok good plan!

Test #19:

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

input:

19

output:

1 1 2 1 0 28 0
1 2 2 1 0 27 0
1 3 2 1 0 26 0
1 4 2 1 0 25 0
1 5 2 1 0 24 0
1 6 2 1 0 23 0
1 7 2 1 0 22 0
1 8 2 1 0 21 0
1 9 2 1 0 20 0
1 10 2 1 0 19 0
1 11 2 1 0 18 0
1 12 2 1 0 17 0
1 13 2 1 0 16 0
1 14 2 1 0 15 0
1 15 2 1 0 14 0
1 16 2 1 0 13 0
1 17 2 1 0 12 0
1 18 2 1 0 11 0
1 19 2 1 0 10 0
2 1 1...

result:

ok good plan!

Test #20:

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

input:

20

output:

1 1 2 1 0 30 0
1 2 2 1 0 29 0
1 3 2 1 0 28 0
1 4 2 1 0 27 0
1 5 2 1 0 26 0
1 6 2 1 0 25 0
1 7 2 1 0 24 0
1 8 2 1 0 23 0
1 9 2 1 0 22 0
1 10 2 1 0 21 0
1 11 2 1 0 20 0
1 12 2 1 0 19 0
1 13 2 1 0 18 0
1 14 2 1 0 17 0
1 15 2 1 0 16 0
1 16 2 1 0 15 0
1 17 2 1 0 14 0
1 18 2 1 0 13 0
1 19 2 1 0 12 0
1 20 ...

result:

ok good plan!

Test #21:

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

input:

21

output:

1 1 2 1 0 31 0
1 2 2 1 0 30 0
1 3 2 1 0 29 0
1 4 2 1 0 28 0
1 5 2 1 0 27 0
1 6 2 1 0 26 0
1 7 2 1 0 25 0
1 8 2 1 0 24 0
1 9 2 1 0 23 0
1 10 2 1 0 22 0
1 11 2 1 0 21 0
1 12 2 1 0 20 0
1 13 2 1 0 19 0
1 14 2 1 0 18 0
1 15 2 1 0 17 0
1 16 2 1 0 16 0
1 17 2 1 0 15 0
1 18 2 1 0 14 0
1 19 2 1 0 13 0
1 20 ...

result:

ok good plan!

Test #22:

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

input:

22

output:

1 1 2 1 0 33 0
1 2 2 1 0 32 0
1 3 2 1 0 31 0
1 4 2 1 0 30 0
1 5 2 1 0 29 0
1 6 2 1 0 28 0
1 7 2 1 0 27 0
1 8 2 1 0 26 0
1 9 2 1 0 25 0
1 10 2 1 0 24 0
1 11 2 1 0 23 0
1 12 2 1 0 22 0
1 13 2 1 0 21 0
1 14 2 1 0 20 0
1 15 2 1 0 19 0
1 16 2 1 0 18 0
1 17 2 1 0 17 0
1 18 2 1 0 16 0
1 19 2 1 0 15 0
1 20 ...

result:

ok good plan!

Test #23:

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

input:

23

output:

1 1 2 1 0 34 0
1 2 2 1 0 33 0
1 3 2 1 0 32 0
1 4 2 1 0 31 0
1 5 2 1 0 30 0
1 6 2 1 0 29 0
1 7 2 1 0 28 0
1 8 2 1 0 27 0
1 9 2 1 0 26 0
1 10 2 1 0 25 0
1 11 2 1 0 24 0
1 12 2 1 0 23 0
1 13 2 1 0 22 0
1 14 2 1 0 21 0
1 15 2 1 0 20 0
1 16 2 1 0 19 0
1 17 2 1 0 18 0
1 18 2 1 0 17 0
1 19 2 1 0 16 0
1 20 ...

result:

ok good plan!

Test #24:

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

input:

24

output:

1 1 2 1 0 36 0
1 2 2 1 0 35 0
1 3 2 1 0 34 0
1 4 2 1 0 33 0
1 5 2 1 0 32 0
1 6 2 1 0 31 0
1 7 2 1 0 30 0
1 8 2 1 0 29 0
1 9 2 1 0 28 0
1 10 2 1 0 27 0
1 11 2 1 0 26 0
1 12 2 1 0 25 0
1 13 2 1 0 24 0
1 14 2 1 0 23 0
1 15 2 1 0 22 0
1 16 2 1 0 21 0
1 17 2 1 0 20 0
1 18 2 1 0 19 0
1 19 2 1 0 18 0
1 20 ...

result:

ok good plan!

Test #25:

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

input:

25

output:

1 1 2 1 0 37 0
1 2 2 1 0 36 0
1 3 2 1 0 35 0
1 4 2 1 0 34 0
1 5 2 1 0 33 0
1 6 2 1 0 32 0
1 7 2 1 0 31 0
1 8 2 1 0 30 0
1 9 2 1 0 29 0
1 10 2 1 0 28 0
1 11 2 1 0 27 0
1 12 2 1 0 26 0
1 13 2 1 0 25 0
1 14 2 1 0 24 0
1 15 2 1 0 23 0
1 16 2 1 0 22 0
1 17 2 1 0 21 0
1 18 2 1 0 20 0
1 19 2 1 0 19 0
1 20 ...

result:

ok good plan!

Test #26:

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

input:

26

output:

1 1 2 1 0 39 0
1 2 2 1 0 38 0
1 3 2 1 0 37 0
1 4 2 1 0 36 0
1 5 2 1 0 35 0
1 6 2 1 0 34 0
1 7 2 1 0 33 0
1 8 2 1 0 32 0
1 9 2 1 0 31 0
1 10 2 1 0 30 0
1 11 2 1 0 29 0
1 12 2 1 0 28 0
1 13 2 1 0 27 0
1 14 2 1 0 26 0
1 15 2 1 0 25 0
1 16 2 1 0 24 0
1 17 2 1 0 23 0
1 18 2 1 0 22 0
1 19 2 1 0 21 0
1 20 ...

result:

ok good plan!

Test #27:

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

input:

27

output:

1 1 2 1 0 40 0
1 2 2 1 0 39 0
1 3 2 1 0 38 0
1 4 2 1 0 37 0
1 5 2 1 0 36 0
1 6 2 1 0 35 0
1 7 2 1 0 34 0
1 8 2 1 0 33 0
1 9 2 1 0 32 0
1 10 2 1 0 31 0
1 11 2 1 0 30 0
1 12 2 1 0 29 0
1 13 2 1 0 28 0
1 14 2 1 0 27 0
1 15 2 1 0 26 0
1 16 2 1 0 25 0
1 17 2 1 0 24 0
1 18 2 1 0 23 0
1 19 2 1 0 22 0
1 20 ...

result:

ok good plan!

Test #28:

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

input:

28

output:

1 1 2 1 0 42 0
1 2 2 1 0 41 0
1 3 2 1 0 40 0
1 4 2 1 0 39 0
1 5 2 1 0 38 0
1 6 2 1 0 37 0
1 7 2 1 0 36 0
1 8 2 1 0 35 0
1 9 2 1 0 34 0
1 10 2 1 0 33 0
1 11 2 1 0 32 0
1 12 2 1 0 31 0
1 13 2 1 0 30 0
1 14 2 1 0 29 0
1 15 2 1 0 28 0
1 16 2 1 0 27 0
1 17 2 1 0 26 0
1 18 2 1 0 25 0
1 19 2 1 0 24 0
1 20 ...

result:

ok good plan!

Test #29:

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

input:

29

output:

1 1 2 1 0 43 0
1 2 2 1 0 42 0
1 3 2 1 0 41 0
1 4 2 1 0 40 0
1 5 2 1 0 39 0
1 6 2 1 0 38 0
1 7 2 1 0 37 0
1 8 2 1 0 36 0
1 9 2 1 0 35 0
1 10 2 1 0 34 0
1 11 2 1 0 33 0
1 12 2 1 0 32 0
1 13 2 1 0 31 0
1 14 2 1 0 30 0
1 15 2 1 0 29 0
1 16 2 1 0 28 0
1 17 2 1 0 27 0
1 18 2 1 0 26 0
1 19 2 1 0 25 0
1 20 ...

result:

ok good plan!

Test #30:

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

input:

30

output:

1 1 2 1 0 45 0
1 2 2 1 0 44 0
1 3 2 1 0 43 0
1 4 2 1 0 42 0
1 5 2 1 0 41 0
1 6 2 1 0 40 0
1 7 2 1 0 39 0
1 8 2 1 0 38 0
1 9 2 1 0 37 0
1 10 2 1 0 36 0
1 11 2 1 0 35 0
1 12 2 1 0 34 0
1 13 2 1 0 33 0
1 14 2 1 0 32 0
1 15 2 1 0 31 0
1 16 2 1 0 30 0
1 17 2 1 0 29 0
1 18 2 1 0 28 0
1 19 2 1 0 27 0
1 20 ...

result:

ok good plan!

Test #31:

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

input:

31

output:

1 1 2 1 0 46 0
1 2 2 1 0 45 0
1 3 2 1 0 44 0
1 4 2 1 0 43 0
1 5 2 1 0 42 0
1 6 2 1 0 41 0
1 7 2 1 0 40 0
1 8 2 1 0 39 0
1 9 2 1 0 38 0
1 10 2 1 0 37 0
1 11 2 1 0 36 0
1 12 2 1 0 35 0
1 13 2 1 0 34 0
1 14 2 1 0 33 0
1 15 2 1 0 32 0
1 16 2 1 0 31 0
1 17 2 1 0 30 0
1 18 2 1 0 29 0
1 19 2 1 0 28 0
1 20 ...

result:

ok good plan!

Test #32:

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

input:

32

output:

1 1 2 1 0 48 0
1 2 2 1 0 47 0
1 3 2 1 0 46 0
1 4 2 1 0 45 0
1 5 2 1 0 44 0
1 6 2 1 0 43 0
1 7 2 1 0 42 0
1 8 2 1 0 41 0
1 9 2 1 0 40 0
1 10 2 1 0 39 0
1 11 2 1 0 38 0
1 12 2 1 0 37 0
1 13 2 1 0 36 0
1 14 2 1 0 35 0
1 15 2 1 0 34 0
1 16 2 1 0 33 0
1 17 2 1 0 32 0
1 18 2 1 0 31 0
1 19 2 1 0 30 0
1 20 ...

result:

ok good plan!

Test #33:

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

input:

33

output:

1 1 2 1 0 49 0
1 2 2 1 0 48 0
1 3 2 1 0 47 0
1 4 2 1 0 46 0
1 5 2 1 0 45 0
1 6 2 1 0 44 0
1 7 2 1 0 43 0
1 8 2 1 0 42 0
1 9 2 1 0 41 0
1 10 2 1 0 40 0
1 11 2 1 0 39 0
1 12 2 1 0 38 0
1 13 2 1 0 37 0
1 14 2 1 0 36 0
1 15 2 1 0 35 0
1 16 2 1 0 34 0
1 17 2 1 0 33 0
1 18 2 1 0 32 0
1 19 2 1 0 31 0
1 20 ...

result:

ok good plan!

Test #34:

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

input:

34

output:

1 1 2 1 0 51 0
1 2 2 1 0 50 0
1 3 2 1 0 49 0
1 4 2 1 0 48 0
1 5 2 1 0 47 0
1 6 2 1 0 46 0
1 7 2 1 0 45 0
1 8 2 1 0 44 0
1 9 2 1 0 43 0
1 10 2 1 0 42 0
1 11 2 1 0 41 0
1 12 2 1 0 40 0
1 13 2 1 0 39 0
1 14 2 1 0 38 0
1 15 2 1 0 37 0
1 16 2 1 0 36 0
1 17 2 1 0 35 0
1 18 2 1 0 34 0
1 19 2 1 0 33 0
1 20 ...

result:

ok good plan!

Test #35:

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

input:

35

output:

1 1 2 1 0 52 0
1 2 2 1 0 51 0
1 3 2 1 0 50 0
1 4 2 1 0 49 0
1 5 2 1 0 48 0
1 6 2 1 0 47 0
1 7 2 1 0 46 0
1 8 2 1 0 45 0
1 9 2 1 0 44 0
1 10 2 1 0 43 0
1 11 2 1 0 42 0
1 12 2 1 0 41 0
1 13 2 1 0 40 0
1 14 2 1 0 39 0
1 15 2 1 0 38 0
1 16 2 1 0 37 0
1 17 2 1 0 36 0
1 18 2 1 0 35 0
1 19 2 1 0 34 0
1 20 ...

result:

ok good plan!

Test #36:

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

input:

36

output:

1 1 2 1 0 54 0
1 2 2 1 0 53 0
1 3 2 1 0 52 0
1 4 2 1 0 51 0
1 5 2 1 0 50 0
1 6 2 1 0 49 0
1 7 2 1 0 48 0
1 8 2 1 0 47 0
1 9 2 1 0 46 0
1 10 2 1 0 45 0
1 11 2 1 0 44 0
1 12 2 1 0 43 0
1 13 2 1 0 42 0
1 14 2 1 0 41 0
1 15 2 1 0 40 0
1 16 2 1 0 39 0
1 17 2 1 0 38 0
1 18 2 1 0 37 0
1 19 2 1 0 36 0
1 20 ...

result:

ok good plan!

Test #37:

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

input:

37

output:

1 1 2 1 0 55 0
1 2 2 1 0 54 0
1 3 2 1 0 53 0
1 4 2 1 0 52 0
1 5 2 1 0 51 0
1 6 2 1 0 50 0
1 7 2 1 0 49 0
1 8 2 1 0 48 0
1 9 2 1 0 47 0
1 10 2 1 0 46 0
1 11 2 1 0 45 0
1 12 2 1 0 44 0
1 13 2 1 0 43 0
1 14 2 1 0 42 0
1 15 2 1 0 41 0
1 16 2 1 0 40 0
1 17 2 1 0 39 0
1 18 2 1 0 38 0
1 19 2 1 0 37 0
1 20 ...

result:

ok good plan!

Test #38:

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

input:

38

output:

1 1 2 1 0 57 0
1 2 2 1 0 56 0
1 3 2 1 0 55 0
1 4 2 1 0 54 0
1 5 2 1 0 53 0
1 6 2 1 0 52 0
1 7 2 1 0 51 0
1 8 2 1 0 50 0
1 9 2 1 0 49 0
1 10 2 1 0 48 0
1 11 2 1 0 47 0
1 12 2 1 0 46 0
1 13 2 1 0 45 0
1 14 2 1 0 44 0
1 15 2 1 0 43 0
1 16 2 1 0 42 0
1 17 2 1 0 41 0
1 18 2 1 0 40 0
1 19 2 1 0 39 0
1 20 ...

result:

ok good plan!

Test #39:

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

input:

39

output:

1 1 2 1 0 58 0
1 2 2 1 0 57 0
1 3 2 1 0 56 0
1 4 2 1 0 55 0
1 5 2 1 0 54 0
1 6 2 1 0 53 0
1 7 2 1 0 52 0
1 8 2 1 0 51 0
1 9 2 1 0 50 0
1 10 2 1 0 49 0
1 11 2 1 0 48 0
1 12 2 1 0 47 0
1 13 2 1 0 46 0
1 14 2 1 0 45 0
1 15 2 1 0 44 0
1 16 2 1 0 43 0
1 17 2 1 0 42 0
1 18 2 1 0 41 0
1 19 2 1 0 40 0
1 20 ...

result:

ok good plan!

Test #40:

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

input:

40

output:

1 1 2 1 0 60 0
1 2 2 1 0 59 0
1 3 2 1 0 58 0
1 4 2 1 0 57 0
1 5 2 1 0 56 0
1 6 2 1 0 55 0
1 7 2 1 0 54 0
1 8 2 1 0 53 0
1 9 2 1 0 52 0
1 10 2 1 0 51 0
1 11 2 1 0 50 0
1 12 2 1 0 49 0
1 13 2 1 0 48 0
1 14 2 1 0 47 0
1 15 2 1 0 46 0
1 16 2 1 0 45 0
1 17 2 1 0 44 0
1 18 2 1 0 43 0
1 19 2 1 0 42 0
1 20 ...

result:

ok good plan!

Test #41:

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

input:

1000

output:

1 1 2 1 0 1500 0
1 2 2 1 0 1499 0
1 3 2 1 0 1498 0
1 4 2 1 0 1497 0
1 5 2 1 0 1496 0
1 6 2 1 0 1495 0
1 7 2 1 0 1494 0
1 8 2 1 0 1493 0
1 9 2 1 0 1492 0
1 10 2 1 0 1491 0
1 11 2 1 0 1490 0
1 12 2 1 0 1489 0
1 13 2 1 0 1488 0
1 14 2 1 0 1487 0
1 15 2 1 0 1486 0
1 16 2 1 0 1485 0
1 17 2 1 0 1484 0
1 1...

result:

ok good plan!

Test #42:

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

input:

951

output:

1 1 2 1 0 1426 0
1 2 2 1 0 1425 0
1 3 2 1 0 1424 0
1 4 2 1 0 1423 0
1 5 2 1 0 1422 0
1 6 2 1 0 1421 0
1 7 2 1 0 1420 0
1 8 2 1 0 1419 0
1 9 2 1 0 1418 0
1 10 2 1 0 1417 0
1 11 2 1 0 1416 0
1 12 2 1 0 1415 0
1 13 2 1 0 1414 0
1 14 2 1 0 1413 0
1 15 2 1 0 1412 0
1 16 2 1 0 1411 0
1 17 2 1 0 1410 0
1 1...

result:

ok good plan!

Test #43:

score: 0
Accepted
time: 209ms
memory: 3528kb

input:

925

output:

1 1 2 1 0 1387 0
1 2 2 1 0 1386 0
1 3 2 1 0 1385 0
1 4 2 1 0 1384 0
1 5 2 1 0 1383 0
1 6 2 1 0 1382 0
1 7 2 1 0 1381 0
1 8 2 1 0 1380 0
1 9 2 1 0 1379 0
1 10 2 1 0 1378 0
1 11 2 1 0 1377 0
1 12 2 1 0 1376 0
1 13 2 1 0 1375 0
1 14 2 1 0 1374 0
1 15 2 1 0 1373 0
1 16 2 1 0 1372 0
1 17 2 1 0 1371 0
1 1...

result:

ok good plan!

Test #44:

score: 0
Accepted
time: 34ms
memory: 3708kb

input:

363

output:

1 1 2 1 0 544 0
1 2 2 1 0 543 0
1 3 2 1 0 542 0
1 4 2 1 0 541 0
1 5 2 1 0 540 0
1 6 2 1 0 539 0
1 7 2 1 0 538 0
1 8 2 1 0 537 0
1 9 2 1 0 536 0
1 10 2 1 0 535 0
1 11 2 1 0 534 0
1 12 2 1 0 533 0
1 13 2 1 0 532 0
1 14 2 1 0 531 0
1 15 2 1 0 530 0
1 16 2 1 0 529 0
1 17 2 1 0 528 0
1 18 2 1 0 527 0
1 1...

result:

ok good plan!

Test #45:

score: 0
Accepted
time: 22ms
memory: 3708kb

input:

294

output:

1 1 2 1 0 441 0
1 2 2 1 0 440 0
1 3 2 1 0 439 0
1 4 2 1 0 438 0
1 5 2 1 0 437 0
1 6 2 1 0 436 0
1 7 2 1 0 435 0
1 8 2 1 0 434 0
1 9 2 1 0 433 0
1 10 2 1 0 432 0
1 11 2 1 0 431 0
1 12 2 1 0 430 0
1 13 2 1 0 429 0
1 14 2 1 0 428 0
1 15 2 1 0 427 0
1 16 2 1 0 426 0
1 17 2 1 0 425 0
1 18 2 1 0 424 0
1 1...

result:

ok good plan!

Test #46:

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

input:

358

output:

1 1 2 1 0 537 0
1 2 2 1 0 536 0
1 3 2 1 0 535 0
1 4 2 1 0 534 0
1 5 2 1 0 533 0
1 6 2 1 0 532 0
1 7 2 1 0 531 0
1 8 2 1 0 530 0
1 9 2 1 0 529 0
1 10 2 1 0 528 0
1 11 2 1 0 527 0
1 12 2 1 0 526 0
1 13 2 1 0 525 0
1 14 2 1 0 524 0
1 15 2 1 0 523 0
1 16 2 1 0 522 0
1 17 2 1 0 521 0
1 18 2 1 0 520 0
1 1...

result:

ok good plan!

Test #47:

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

input:

676

output:

1 1 2 1 0 1014 0
1 2 2 1 0 1013 0
1 3 2 1 0 1012 0
1 4 2 1 0 1011 0
1 5 2 1 0 1010 0
1 6 2 1 0 1009 0
1 7 2 1 0 1008 0
1 8 2 1 0 1007 0
1 9 2 1 0 1006 0
1 10 2 1 0 1005 0
1 11 2 1 0 1004 0
1 12 2 1 0 1003 0
1 13 2 1 0 1002 0
1 14 2 1 0 1001 0
1 15 2 1 0 1000 0
1 16 2 1 0 999 0
1 17 2 1 0 998 0
1 18 ...

result:

ok good plan!

Test #48:

score: 0
Accepted
time: 205ms
memory: 3636kb

input:

935

output:

1 1 2 1 0 1402 0
1 2 2 1 0 1401 0
1 3 2 1 0 1400 0
1 4 2 1 0 1399 0
1 5 2 1 0 1398 0
1 6 2 1 0 1397 0
1 7 2 1 0 1396 0
1 8 2 1 0 1395 0
1 9 2 1 0 1394 0
1 10 2 1 0 1393 0
1 11 2 1 0 1392 0
1 12 2 1 0 1391 0
1 13 2 1 0 1390 0
1 14 2 1 0 1389 0
1 15 2 1 0 1388 0
1 16 2 1 0 1387 0
1 17 2 1 0 1386 0
1 1...

result:

ok good plan!

Test #49:

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

input:

73

output:

1 1 2 1 0 109 0
1 2 2 1 0 108 0
1 3 2 1 0 107 0
1 4 2 1 0 106 0
1 5 2 1 0 105 0
1 6 2 1 0 104 0
1 7 2 1 0 103 0
1 8 2 1 0 102 0
1 9 2 1 0 101 0
1 10 2 1 0 100 0
1 11 2 1 0 99 0
1 12 2 1 0 98 0
1 13 2 1 0 97 0
1 14 2 1 0 96 0
1 15 2 1 0 95 0
1 16 2 1 0 94 0
1 17 2 1 0 93 0
1 18 2 1 0 92 0
1 19 2 1 0 ...

result:

ok good plan!

Test #50:

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

input:

844

output:

1 1 2 1 0 1266 0
1 2 2 1 0 1265 0
1 3 2 1 0 1264 0
1 4 2 1 0 1263 0
1 5 2 1 0 1262 0
1 6 2 1 0 1261 0
1 7 2 1 0 1260 0
1 8 2 1 0 1259 0
1 9 2 1 0 1258 0
1 10 2 1 0 1257 0
1 11 2 1 0 1256 0
1 12 2 1 0 1255 0
1 13 2 1 0 1254 0
1 14 2 1 0 1253 0
1 15 2 1 0 1252 0
1 16 2 1 0 1251 0
1 17 2 1 0 1250 0
1 1...

result:

ok good plan!

Test #51:

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

input:

765

output:

1 1 2 1 0 1147 0
1 2 2 1 0 1146 0
1 3 2 1 0 1145 0
1 4 2 1 0 1144 0
1 5 2 1 0 1143 0
1 6 2 1 0 1142 0
1 7 2 1 0 1141 0
1 8 2 1 0 1140 0
1 9 2 1 0 1139 0
1 10 2 1 0 1138 0
1 11 2 1 0 1137 0
1 12 2 1 0 1136 0
1 13 2 1 0 1135 0
1 14 2 1 0 1134 0
1 15 2 1 0 1133 0
1 16 2 1 0 1132 0
1 17 2 1 0 1131 0
1 1...

result:

ok good plan!

Test #52:

score: 0
Accepted
time: 127ms
memory: 3576kb

input:

732

output:

1 1 2 1 0 1098 0
1 2 2 1 0 1097 0
1 3 2 1 0 1096 0
1 4 2 1 0 1095 0
1 5 2 1 0 1094 0
1 6 2 1 0 1093 0
1 7 2 1 0 1092 0
1 8 2 1 0 1091 0
1 9 2 1 0 1090 0
1 10 2 1 0 1089 0
1 11 2 1 0 1088 0
1 12 2 1 0 1087 0
1 13 2 1 0 1086 0
1 14 2 1 0 1085 0
1 15 2 1 0 1084 0
1 16 2 1 0 1083 0
1 17 2 1 0 1082 0
1 1...

result:

ok good plan!

Test #53:

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

input:

737

output:

1 1 2 1 0 1105 0
1 2 2 1 0 1104 0
1 3 2 1 0 1103 0
1 4 2 1 0 1102 0
1 5 2 1 0 1101 0
1 6 2 1 0 1100 0
1 7 2 1 0 1099 0
1 8 2 1 0 1098 0
1 9 2 1 0 1097 0
1 10 2 1 0 1096 0
1 11 2 1 0 1095 0
1 12 2 1 0 1094 0
1 13 2 1 0 1093 0
1 14 2 1 0 1092 0
1 15 2 1 0 1091 0
1 16 2 1 0 1090 0
1 17 2 1 0 1089 0
1 1...

result:

ok good plan!

Test #54:

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

input:

388

output:

1 1 2 1 0 582 0
1 2 2 1 0 581 0
1 3 2 1 0 580 0
1 4 2 1 0 579 0
1 5 2 1 0 578 0
1 6 2 1 0 577 0
1 7 2 1 0 576 0
1 8 2 1 0 575 0
1 9 2 1 0 574 0
1 10 2 1 0 573 0
1 11 2 1 0 572 0
1 12 2 1 0 571 0
1 13 2 1 0 570 0
1 14 2 1 0 569 0
1 15 2 1 0 568 0
1 16 2 1 0 567 0
1 17 2 1 0 566 0
1 18 2 1 0 565 0
1 1...

result:

ok good plan!

Test #55:

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

input:

49

output:

1 1 2 1 0 73 0
1 2 2 1 0 72 0
1 3 2 1 0 71 0
1 4 2 1 0 70 0
1 5 2 1 0 69 0
1 6 2 1 0 68 0
1 7 2 1 0 67 0
1 8 2 1 0 66 0
1 9 2 1 0 65 0
1 10 2 1 0 64 0
1 11 2 1 0 63 0
1 12 2 1 0 62 0
1 13 2 1 0 61 0
1 14 2 1 0 60 0
1 15 2 1 0 59 0
1 16 2 1 0 58 0
1 17 2 1 0 57 0
1 18 2 1 0 56 0
1 19 2 1 0 55 0
1 20 ...

result:

ok good plan!

Test #56:

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

input:

758

output:

1 1 2 1 0 1137 0
1 2 2 1 0 1136 0
1 3 2 1 0 1135 0
1 4 2 1 0 1134 0
1 5 2 1 0 1133 0
1 6 2 1 0 1132 0
1 7 2 1 0 1131 0
1 8 2 1 0 1130 0
1 9 2 1 0 1129 0
1 10 2 1 0 1128 0
1 11 2 1 0 1127 0
1 12 2 1 0 1126 0
1 13 2 1 0 1125 0
1 14 2 1 0 1124 0
1 15 2 1 0 1123 0
1 16 2 1 0 1122 0
1 17 2 1 0 1121 0
1 1...

result:

ok good plan!

Test #57:

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

input:

639

output:

1 1 2 1 0 958 0
1 2 2 1 0 957 0
1 3 2 1 0 956 0
1 4 2 1 0 955 0
1 5 2 1 0 954 0
1 6 2 1 0 953 0
1 7 2 1 0 952 0
1 8 2 1 0 951 0
1 9 2 1 0 950 0
1 10 2 1 0 949 0
1 11 2 1 0 948 0
1 12 2 1 0 947 0
1 13 2 1 0 946 0
1 14 2 1 0 945 0
1 15 2 1 0 944 0
1 16 2 1 0 943 0
1 17 2 1 0 942 0
1 18 2 1 0 941 0
1 1...

result:

ok good plan!

Test #58:

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

input:

335

output:

1 1 2 1 0 502 0
1 2 2 1 0 501 0
1 3 2 1 0 500 0
1 4 2 1 0 499 0
1 5 2 1 0 498 0
1 6 2 1 0 497 0
1 7 2 1 0 496 0
1 8 2 1 0 495 0
1 9 2 1 0 494 0
1 10 2 1 0 493 0
1 11 2 1 0 492 0
1 12 2 1 0 491 0
1 13 2 1 0 490 0
1 14 2 1 0 489 0
1 15 2 1 0 488 0
1 16 2 1 0 487 0
1 17 2 1 0 486 0
1 18 2 1 0 485 0
1 1...

result:

ok good plan!

Test #59:

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

input:

266

output:

1 1 2 1 0 399 0
1 2 2 1 0 398 0
1 3 2 1 0 397 0
1 4 2 1 0 396 0
1 5 2 1 0 395 0
1 6 2 1 0 394 0
1 7 2 1 0 393 0
1 8 2 1 0 392 0
1 9 2 1 0 391 0
1 10 2 1 0 390 0
1 11 2 1 0 389 0
1 12 2 1 0 388 0
1 13 2 1 0 387 0
1 14 2 1 0 386 0
1 15 2 1 0 385 0
1 16 2 1 0 384 0
1 17 2 1 0 383 0
1 18 2 1 0 382 0
1 1...

result:

ok good plan!

Test #60:

score: 0
Accepted
time: 187ms
memory: 3680kb

input:

843

output:

1 1 2 1 0 1264 0
1 2 2 1 0 1263 0
1 3 2 1 0 1262 0
1 4 2 1 0 1261 0
1 5 2 1 0 1260 0
1 6 2 1 0 1259 0
1 7 2 1 0 1258 0
1 8 2 1 0 1257 0
1 9 2 1 0 1256 0
1 10 2 1 0 1255 0
1 11 2 1 0 1254 0
1 12 2 1 0 1253 0
1 13 2 1 0 1252 0
1 14 2 1 0 1251 0
1 15 2 1 0 1250 0
1 16 2 1 0 1249 0
1 17 2 1 0 1248 0
1 1...

result:

ok good plan!

Test #61:

score: 0
Accepted
time: 154ms
memory: 3636kb

input:

819

output:

1 1 2 1 0 1228 0
1 2 2 1 0 1227 0
1 3 2 1 0 1226 0
1 4 2 1 0 1225 0
1 5 2 1 0 1224 0
1 6 2 1 0 1223 0
1 7 2 1 0 1222 0
1 8 2 1 0 1221 0
1 9 2 1 0 1220 0
1 10 2 1 0 1219 0
1 11 2 1 0 1218 0
1 12 2 1 0 1217 0
1 13 2 1 0 1216 0
1 14 2 1 0 1215 0
1 15 2 1 0 1214 0
1 16 2 1 0 1213 0
1 17 2 1 0 1212 0
1 1...

result:

ok good plan!

Test #62:

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

input:

392

output:

1 1 2 1 0 588 0
1 2 2 1 0 587 0
1 3 2 1 0 586 0
1 4 2 1 0 585 0
1 5 2 1 0 584 0
1 6 2 1 0 583 0
1 7 2 1 0 582 0
1 8 2 1 0 581 0
1 9 2 1 0 580 0
1 10 2 1 0 579 0
1 11 2 1 0 578 0
1 12 2 1 0 577 0
1 13 2 1 0 576 0
1 14 2 1 0 575 0
1 15 2 1 0 574 0
1 16 2 1 0 573 0
1 17 2 1 0 572 0
1 18 2 1 0 571 0
1 1...

result:

ok good plan!

Test #63:

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

input:

259

output:

1 1 2 1 0 388 0
1 2 2 1 0 387 0
1 3 2 1 0 386 0
1 4 2 1 0 385 0
1 5 2 1 0 384 0
1 6 2 1 0 383 0
1 7 2 1 0 382 0
1 8 2 1 0 381 0
1 9 2 1 0 380 0
1 10 2 1 0 379 0
1 11 2 1 0 378 0
1 12 2 1 0 377 0
1 13 2 1 0 376 0
1 14 2 1 0 375 0
1 15 2 1 0 374 0
1 16 2 1 0 373 0
1 17 2 1 0 372 0
1 18 2 1 0 371 0
1 1...

result:

ok good plan!

Test #64:

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

input:

879

output:

1 1 2 1 0 1318 0
1 2 2 1 0 1317 0
1 3 2 1 0 1316 0
1 4 2 1 0 1315 0
1 5 2 1 0 1314 0
1 6 2 1 0 1313 0
1 7 2 1 0 1312 0
1 8 2 1 0 1311 0
1 9 2 1 0 1310 0
1 10 2 1 0 1309 0
1 11 2 1 0 1308 0
1 12 2 1 0 1307 0
1 13 2 1 0 1306 0
1 14 2 1 0 1305 0
1 15 2 1 0 1304 0
1 16 2 1 0 1303 0
1 17 2 1 0 1302 0
1 1...

result:

ok good plan!

Test #65:

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

input:

538

output:

1 1 2 1 0 807 0
1 2 2 1 0 806 0
1 3 2 1 0 805 0
1 4 2 1 0 804 0
1 5 2 1 0 803 0
1 6 2 1 0 802 0
1 7 2 1 0 801 0
1 8 2 1 0 800 0
1 9 2 1 0 799 0
1 10 2 1 0 798 0
1 11 2 1 0 797 0
1 12 2 1 0 796 0
1 13 2 1 0 795 0
1 14 2 1 0 794 0
1 15 2 1 0 793 0
1 16 2 1 0 792 0
1 17 2 1 0 791 0
1 18 2 1 0 790 0
1 1...

result:

ok good plan!

Test #66:

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

input:

818

output:

1 1 2 1 0 1227 0
1 2 2 1 0 1226 0
1 3 2 1 0 1225 0
1 4 2 1 0 1224 0
1 5 2 1 0 1223 0
1 6 2 1 0 1222 0
1 7 2 1 0 1221 0
1 8 2 1 0 1220 0
1 9 2 1 0 1219 0
1 10 2 1 0 1218 0
1 11 2 1 0 1217 0
1 12 2 1 0 1216 0
1 13 2 1 0 1215 0
1 14 2 1 0 1214 0
1 15 2 1 0 1213 0
1 16 2 1 0 1212 0
1 17 2 1 0 1211 0
1 1...

result:

ok good plan!

Test #67:

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

input:

396

output:

1 1 2 1 0 594 0
1 2 2 1 0 593 0
1 3 2 1 0 592 0
1 4 2 1 0 591 0
1 5 2 1 0 590 0
1 6 2 1 0 589 0
1 7 2 1 0 588 0
1 8 2 1 0 587 0
1 9 2 1 0 586 0
1 10 2 1 0 585 0
1 11 2 1 0 584 0
1 12 2 1 0 583 0
1 13 2 1 0 582 0
1 14 2 1 0 581 0
1 15 2 1 0 580 0
1 16 2 1 0 579 0
1 17 2 1 0 578 0
1 18 2 1 0 577 0
1 1...

result:

ok good plan!

Test #68:

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

input:

703

output:

1 1 2 1 0 1054 0
1 2 2 1 0 1053 0
1 3 2 1 0 1052 0
1 4 2 1 0 1051 0
1 5 2 1 0 1050 0
1 6 2 1 0 1049 0
1 7 2 1 0 1048 0
1 8 2 1 0 1047 0
1 9 2 1 0 1046 0
1 10 2 1 0 1045 0
1 11 2 1 0 1044 0
1 12 2 1 0 1043 0
1 13 2 1 0 1042 0
1 14 2 1 0 1041 0
1 15 2 1 0 1040 0
1 16 2 1 0 1039 0
1 17 2 1 0 1038 0
1 1...

result:

ok good plan!

Test #69:

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

input:

849

output:

1 1 2 1 0 1273 0
1 2 2 1 0 1272 0
1 3 2 1 0 1271 0
1 4 2 1 0 1270 0
1 5 2 1 0 1269 0
1 6 2 1 0 1268 0
1 7 2 1 0 1267 0
1 8 2 1 0 1266 0
1 9 2 1 0 1265 0
1 10 2 1 0 1264 0
1 11 2 1 0 1263 0
1 12 2 1 0 1262 0
1 13 2 1 0 1261 0
1 14 2 1 0 1260 0
1 15 2 1 0 1259 0
1 16 2 1 0 1258 0
1 17 2 1 0 1257 0
1 1...

result:

ok good plan!

Test #70:

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

input:

64

output:

1 1 2 1 0 96 0
1 2 2 1 0 95 0
1 3 2 1 0 94 0
1 4 2 1 0 93 0
1 5 2 1 0 92 0
1 6 2 1 0 91 0
1 7 2 1 0 90 0
1 8 2 1 0 89 0
1 9 2 1 0 88 0
1 10 2 1 0 87 0
1 11 2 1 0 86 0
1 12 2 1 0 85 0
1 13 2 1 0 84 0
1 14 2 1 0 83 0
1 15 2 1 0 82 0
1 16 2 1 0 81 0
1 17 2 1 0 80 0
1 18 2 1 0 79 0
1 19 2 1 0 78 0
1 20 ...

result:

ok good plan!

Test #71:

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

input:

905

output:

1 1 2 1 0 1357 0
1 2 2 1 0 1356 0
1 3 2 1 0 1355 0
1 4 2 1 0 1354 0
1 5 2 1 0 1353 0
1 6 2 1 0 1352 0
1 7 2 1 0 1351 0
1 8 2 1 0 1350 0
1 9 2 1 0 1349 0
1 10 2 1 0 1348 0
1 11 2 1 0 1347 0
1 12 2 1 0 1346 0
1 13 2 1 0 1345 0
1 14 2 1 0 1344 0
1 15 2 1 0 1343 0
1 16 2 1 0 1342 0
1 17 2 1 0 1341 0
1 1...

result:

ok good plan!

Test #72:

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

input:

221

output:

1 1 2 1 0 331 0
1 2 2 1 0 330 0
1 3 2 1 0 329 0
1 4 2 1 0 328 0
1 5 2 1 0 327 0
1 6 2 1 0 326 0
1 7 2 1 0 325 0
1 8 2 1 0 324 0
1 9 2 1 0 323 0
1 10 2 1 0 322 0
1 11 2 1 0 321 0
1 12 2 1 0 320 0
1 13 2 1 0 319 0
1 14 2 1 0 318 0
1 15 2 1 0 317 0
1 16 2 1 0 316 0
1 17 2 1 0 315 0
1 18 2 1 0 314 0
1 1...

result:

ok good plan!

Test #73:

score: 0
Accepted
time: 127ms
memory: 3576kb

input:

719

output:

1 1 2 1 0 1078 0
1 2 2 1 0 1077 0
1 3 2 1 0 1076 0
1 4 2 1 0 1075 0
1 5 2 1 0 1074 0
1 6 2 1 0 1073 0
1 7 2 1 0 1072 0
1 8 2 1 0 1071 0
1 9 2 1 0 1070 0
1 10 2 1 0 1069 0
1 11 2 1 0 1068 0
1 12 2 1 0 1067 0
1 13 2 1 0 1066 0
1 14 2 1 0 1065 0
1 15 2 1 0 1064 0
1 16 2 1 0 1063 0
1 17 2 1 0 1062 0
1 1...

result:

ok good plan!

Test #74:

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

input:

642

output:

1 1 2 1 0 963 0
1 2 2 1 0 962 0
1 3 2 1 0 961 0
1 4 2 1 0 960 0
1 5 2 1 0 959 0
1 6 2 1 0 958 0
1 7 2 1 0 957 0
1 8 2 1 0 956 0
1 9 2 1 0 955 0
1 10 2 1 0 954 0
1 11 2 1 0 953 0
1 12 2 1 0 952 0
1 13 2 1 0 951 0
1 14 2 1 0 950 0
1 15 2 1 0 949 0
1 16 2 1 0 948 0
1 17 2 1 0 947 0
1 18 2 1 0 946 0
1 1...

result:

ok good plan!

Test #75:

score: 0
Accepted
time: 19ms
memory: 3576kb

input:

298

output:

1 1 2 1 0 447 0
1 2 2 1 0 446 0
1 3 2 1 0 445 0
1 4 2 1 0 444 0
1 5 2 1 0 443 0
1 6 2 1 0 442 0
1 7 2 1 0 441 0
1 8 2 1 0 440 0
1 9 2 1 0 439 0
1 10 2 1 0 438 0
1 11 2 1 0 437 0
1 12 2 1 0 436 0
1 13 2 1 0 435 0
1 14 2 1 0 434 0
1 15 2 1 0 433 0
1 16 2 1 0 432 0
1 17 2 1 0 431 0
1 18 2 1 0 430 0
1 1...

result:

ok good plan!

Test #76:

score: 0
Accepted
time: 19ms
memory: 3708kb

input:

272

output:

1 1 2 1 0 408 0
1 2 2 1 0 407 0
1 3 2 1 0 406 0
1 4 2 1 0 405 0
1 5 2 1 0 404 0
1 6 2 1 0 403 0
1 7 2 1 0 402 0
1 8 2 1 0 401 0
1 9 2 1 0 400 0
1 10 2 1 0 399 0
1 11 2 1 0 398 0
1 12 2 1 0 397 0
1 13 2 1 0 396 0
1 14 2 1 0 395 0
1 15 2 1 0 394 0
1 16 2 1 0 393 0
1 17 2 1 0 392 0
1 18 2 1 0 391 0
1 1...

result:

ok good plan!

Test #77:

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

input:

518

output:

1 1 2 1 0 777 0
1 2 2 1 0 776 0
1 3 2 1 0 775 0
1 4 2 1 0 774 0
1 5 2 1 0 773 0
1 6 2 1 0 772 0
1 7 2 1 0 771 0
1 8 2 1 0 770 0
1 9 2 1 0 769 0
1 10 2 1 0 768 0
1 11 2 1 0 767 0
1 12 2 1 0 766 0
1 13 2 1 0 765 0
1 14 2 1 0 764 0
1 15 2 1 0 763 0
1 16 2 1 0 762 0
1 17 2 1 0 761 0
1 18 2 1 0 760 0
1 1...

result:

ok good plan!

Test #78:

score: 0
Accepted
time: 175ms
memory: 3636kb

input:

845

output:

1 1 2 1 0 1267 0
1 2 2 1 0 1266 0
1 3 2 1 0 1265 0
1 4 2 1 0 1264 0
1 5 2 1 0 1263 0
1 6 2 1 0 1262 0
1 7 2 1 0 1261 0
1 8 2 1 0 1260 0
1 9 2 1 0 1259 0
1 10 2 1 0 1258 0
1 11 2 1 0 1257 0
1 12 2 1 0 1256 0
1 13 2 1 0 1255 0
1 14 2 1 0 1254 0
1 15 2 1 0 1253 0
1 16 2 1 0 1252 0
1 17 2 1 0 1251 0
1 1...

result:

ok good plan!

Test #79:

score: 0
Accepted
time: 172ms
memory: 3684kb

input:

851

output:

1 1 2 1 0 1276 0
1 2 2 1 0 1275 0
1 3 2 1 0 1274 0
1 4 2 1 0 1273 0
1 5 2 1 0 1272 0
1 6 2 1 0 1271 0
1 7 2 1 0 1270 0
1 8 2 1 0 1269 0
1 9 2 1 0 1268 0
1 10 2 1 0 1267 0
1 11 2 1 0 1266 0
1 12 2 1 0 1265 0
1 13 2 1 0 1264 0
1 14 2 1 0 1263 0
1 15 2 1 0 1262 0
1 16 2 1 0 1261 0
1 17 2 1 0 1260 0
1 1...

result:

ok good plan!

Test #80:

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

input:

992

output:

1 1 2 1 0 1488 0
1 2 2 1 0 1487 0
1 3 2 1 0 1486 0
1 4 2 1 0 1485 0
1 5 2 1 0 1484 0
1 6 2 1 0 1483 0
1 7 2 1 0 1482 0
1 8 2 1 0 1481 0
1 9 2 1 0 1480 0
1 10 2 1 0 1479 0
1 11 2 1 0 1478 0
1 12 2 1 0 1477 0
1 13 2 1 0 1476 0
1 14 2 1 0 1475 0
1 15 2 1 0 1474 0
1 16 2 1 0 1473 0
1 17 2 1 0 1472 0
1 1...

result:

ok good plan!

Test #81:

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

input:

741

output:

1 1 2 1 0 1111 0
1 2 2 1 0 1110 0
1 3 2 1 0 1109 0
1 4 2 1 0 1108 0
1 5 2 1 0 1107 0
1 6 2 1 0 1106 0
1 7 2 1 0 1105 0
1 8 2 1 0 1104 0
1 9 2 1 0 1103 0
1 10 2 1 0 1102 0
1 11 2 1 0 1101 0
1 12 2 1 0 1100 0
1 13 2 1 0 1099 0
1 14 2 1 0 1098 0
1 15 2 1 0 1097 0
1 16 2 1 0 1096 0
1 17 2 1 0 1095 0
1 1...

result:

ok good plan!

Test #82:

score: 0
Accepted
time: 118ms
memory: 3700kb

input:

711

output:

1 1 2 1 0 1066 0
1 2 2 1 0 1065 0
1 3 2 1 0 1064 0
1 4 2 1 0 1063 0
1 5 2 1 0 1062 0
1 6 2 1 0 1061 0
1 7 2 1 0 1060 0
1 8 2 1 0 1059 0
1 9 2 1 0 1058 0
1 10 2 1 0 1057 0
1 11 2 1 0 1056 0
1 12 2 1 0 1055 0
1 13 2 1 0 1054 0
1 14 2 1 0 1053 0
1 15 2 1 0 1052 0
1 16 2 1 0 1051 0
1 17 2 1 0 1050 0
1 1...

result:

ok good plan!

Test #83:

score: 0
Accepted
time: 193ms
memory: 3592kb

input:

885

output:

1 1 2 1 0 1327 0
1 2 2 1 0 1326 0
1 3 2 1 0 1325 0
1 4 2 1 0 1324 0
1 5 2 1 0 1323 0
1 6 2 1 0 1322 0
1 7 2 1 0 1321 0
1 8 2 1 0 1320 0
1 9 2 1 0 1319 0
1 10 2 1 0 1318 0
1 11 2 1 0 1317 0
1 12 2 1 0 1316 0
1 13 2 1 0 1315 0
1 14 2 1 0 1314 0
1 15 2 1 0 1313 0
1 16 2 1 0 1312 0
1 17 2 1 0 1311 0
1 1...

result:

ok good plan!

Test #84:

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

input:

959

output:

1 1 2 1 0 1438 0
1 2 2 1 0 1437 0
1 3 2 1 0 1436 0
1 4 2 1 0 1435 0
1 5 2 1 0 1434 0
1 6 2 1 0 1433 0
1 7 2 1 0 1432 0
1 8 2 1 0 1431 0
1 9 2 1 0 1430 0
1 10 2 1 0 1429 0
1 11 2 1 0 1428 0
1 12 2 1 0 1427 0
1 13 2 1 0 1426 0
1 14 2 1 0 1425 0
1 15 2 1 0 1424 0
1 16 2 1 0 1423 0
1 17 2 1 0 1422 0
1 1...

result:

ok good plan!

Test #85:

score: 0
Accepted
time: 32ms
memory: 3680kb

input:

356

output:

1 1 2 1 0 534 0
1 2 2 1 0 533 0
1 3 2 1 0 532 0
1 4 2 1 0 531 0
1 5 2 1 0 530 0
1 6 2 1 0 529 0
1 7 2 1 0 528 0
1 8 2 1 0 527 0
1 9 2 1 0 526 0
1 10 2 1 0 525 0
1 11 2 1 0 524 0
1 12 2 1 0 523 0
1 13 2 1 0 522 0
1 14 2 1 0 521 0
1 15 2 1 0 520 0
1 16 2 1 0 519 0
1 17 2 1 0 518 0
1 18 2 1 0 517 0
1 1...

result:

ok good plan!

Test #86:

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

input:

870

output:

1 1 2 1 0 1305 0
1 2 2 1 0 1304 0
1 3 2 1 0 1303 0
1 4 2 1 0 1302 0
1 5 2 1 0 1301 0
1 6 2 1 0 1300 0
1 7 2 1 0 1299 0
1 8 2 1 0 1298 0
1 9 2 1 0 1297 0
1 10 2 1 0 1296 0
1 11 2 1 0 1295 0
1 12 2 1 0 1294 0
1 13 2 1 0 1293 0
1 14 2 1 0 1292 0
1 15 2 1 0 1291 0
1 16 2 1 0 1290 0
1 17 2 1 0 1289 0
1 1...

result:

ok good plan!

Test #87:

score: 0
Accepted
time: 127ms
memory: 3684kb

input:

733

output:

1 1 2 1 0 1099 0
1 2 2 1 0 1098 0
1 3 2 1 0 1097 0
1 4 2 1 0 1096 0
1 5 2 1 0 1095 0
1 6 2 1 0 1094 0
1 7 2 1 0 1093 0
1 8 2 1 0 1092 0
1 9 2 1 0 1091 0
1 10 2 1 0 1090 0
1 11 2 1 0 1089 0
1 12 2 1 0 1088 0
1 13 2 1 0 1087 0
1 14 2 1 0 1086 0
1 15 2 1 0 1085 0
1 16 2 1 0 1084 0
1 17 2 1 0 1083 0
1 1...

result:

ok good plan!

Test #88:

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

input:

348

output:

1 1 2 1 0 522 0
1 2 2 1 0 521 0
1 3 2 1 0 520 0
1 4 2 1 0 519 0
1 5 2 1 0 518 0
1 6 2 1 0 517 0
1 7 2 1 0 516 0
1 8 2 1 0 515 0
1 9 2 1 0 514 0
1 10 2 1 0 513 0
1 11 2 1 0 512 0
1 12 2 1 0 511 0
1 13 2 1 0 510 0
1 14 2 1 0 509 0
1 15 2 1 0 508 0
1 16 2 1 0 507 0
1 17 2 1 0 506 0
1 18 2 1 0 505 0
1 1...

result:

ok good plan!

Test #89:

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

input:

833

output:

1 1 2 1 0 1249 0
1 2 2 1 0 1248 0
1 3 2 1 0 1247 0
1 4 2 1 0 1246 0
1 5 2 1 0 1245 0
1 6 2 1 0 1244 0
1 7 2 1 0 1243 0
1 8 2 1 0 1242 0
1 9 2 1 0 1241 0
1 10 2 1 0 1240 0
1 11 2 1 0 1239 0
1 12 2 1 0 1238 0
1 13 2 1 0 1237 0
1 14 2 1 0 1236 0
1 15 2 1 0 1235 0
1 16 2 1 0 1234 0
1 17 2 1 0 1233 0
1 1...

result:

ok good plan!

Test #90:

score: 0
Accepted
time: 43ms
memory: 3684kb

input:

430

output:

1 1 2 1 0 645 0
1 2 2 1 0 644 0
1 3 2 1 0 643 0
1 4 2 1 0 642 0
1 5 2 1 0 641 0
1 6 2 1 0 640 0
1 7 2 1 0 639 0
1 8 2 1 0 638 0
1 9 2 1 0 637 0
1 10 2 1 0 636 0
1 11 2 1 0 635 0
1 12 2 1 0 634 0
1 13 2 1 0 633 0
1 14 2 1 0 632 0
1 15 2 1 0 631 0
1 16 2 1 0 630 0
1 17 2 1 0 629 0
1 18 2 1 0 628 0
1 1...

result:

ok good plan!

Test #91:

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

input:

731

output:

1 1 2 1 0 1096 0
1 2 2 1 0 1095 0
1 3 2 1 0 1094 0
1 4 2 1 0 1093 0
1 5 2 1 0 1092 0
1 6 2 1 0 1091 0
1 7 2 1 0 1090 0
1 8 2 1 0 1089 0
1 9 2 1 0 1088 0
1 10 2 1 0 1087 0
1 11 2 1 0 1086 0
1 12 2 1 0 1085 0
1 13 2 1 0 1084 0
1 14 2 1 0 1083 0
1 15 2 1 0 1082 0
1 16 2 1 0 1081 0
1 17 2 1 0 1080 0
1 1...

result:

ok good plan!

Test #92:

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

input:

255

output:

1 1 2 1 0 382 0
1 2 2 1 0 381 0
1 3 2 1 0 380 0
1 4 2 1 0 379 0
1 5 2 1 0 378 0
1 6 2 1 0 377 0
1 7 2 1 0 376 0
1 8 2 1 0 375 0
1 9 2 1 0 374 0
1 10 2 1 0 373 0
1 11 2 1 0 372 0
1 12 2 1 0 371 0
1 13 2 1 0 370 0
1 14 2 1 0 369 0
1 15 2 1 0 368 0
1 16 2 1 0 367 0
1 17 2 1 0 366 0
1 18 2 1 0 365 0
1 1...

result:

ok good plan!

Test #93:

score: 0
Accepted
time: 156ms
memory: 3652kb

input:

735

output:

1 1 2 1 0 1102 0
1 2 2 1 0 1101 0
1 3 2 1 0 1100 0
1 4 2 1 0 1099 0
1 5 2 1 0 1098 0
1 6 2 1 0 1097 0
1 7 2 1 0 1096 0
1 8 2 1 0 1095 0
1 9 2 1 0 1094 0
1 10 2 1 0 1093 0
1 11 2 1 0 1092 0
1 12 2 1 0 1091 0
1 13 2 1 0 1090 0
1 14 2 1 0 1089 0
1 15 2 1 0 1088 0
1 16 2 1 0 1087 0
1 17 2 1 0 1086 0
1 1...

result:

ok good plan!

Test #94:

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

input:

417

output:

1 1 2 1 0 625 0
1 2 2 1 0 624 0
1 3 2 1 0 623 0
1 4 2 1 0 622 0
1 5 2 1 0 621 0
1 6 2 1 0 620 0
1 7 2 1 0 619 0
1 8 2 1 0 618 0
1 9 2 1 0 617 0
1 10 2 1 0 616 0
1 11 2 1 0 615 0
1 12 2 1 0 614 0
1 13 2 1 0 613 0
1 14 2 1 0 612 0
1 15 2 1 0 611 0
1 16 2 1 0 610 0
1 17 2 1 0 609 0
1 18 2 1 0 608 0
1 1...

result:

ok good plan!

Test #95:

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

input:

166

output:

1 1 2 1 0 249 0
1 2 2 1 0 248 0
1 3 2 1 0 247 0
1 4 2 1 0 246 0
1 5 2 1 0 245 0
1 6 2 1 0 244 0
1 7 2 1 0 243 0
1 8 2 1 0 242 0
1 9 2 1 0 241 0
1 10 2 1 0 240 0
1 11 2 1 0 239 0
1 12 2 1 0 238 0
1 13 2 1 0 237 0
1 14 2 1 0 236 0
1 15 2 1 0 235 0
1 16 2 1 0 234 0
1 17 2 1 0 233 0
1 18 2 1 0 232 0
1 1...

result:

ok good plan!

Test #96:

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

input:

931

output:

1 1 2 1 0 1396 0
1 2 2 1 0 1395 0
1 3 2 1 0 1394 0
1 4 2 1 0 1393 0
1 5 2 1 0 1392 0
1 6 2 1 0 1391 0
1 7 2 1 0 1390 0
1 8 2 1 0 1389 0
1 9 2 1 0 1388 0
1 10 2 1 0 1387 0
1 11 2 1 0 1386 0
1 12 2 1 0 1385 0
1 13 2 1 0 1384 0
1 14 2 1 0 1383 0
1 15 2 1 0 1382 0
1 16 2 1 0 1381 0
1 17 2 1 0 1380 0
1 1...

result:

ok good plan!

Test #97:

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

input:

238

output:

1 1 2 1 0 357 0
1 2 2 1 0 356 0
1 3 2 1 0 355 0
1 4 2 1 0 354 0
1 5 2 1 0 353 0
1 6 2 1 0 352 0
1 7 2 1 0 351 0
1 8 2 1 0 350 0
1 9 2 1 0 349 0
1 10 2 1 0 348 0
1 11 2 1 0 347 0
1 12 2 1 0 346 0
1 13 2 1 0 345 0
1 14 2 1 0 344 0
1 15 2 1 0 343 0
1 16 2 1 0 342 0
1 17 2 1 0 341 0
1 18 2 1 0 340 0
1 1...

result:

ok good plan!

Test #98:

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

input:

740

output:

1 1 2 1 0 1110 0
1 2 2 1 0 1109 0
1 3 2 1 0 1108 0
1 4 2 1 0 1107 0
1 5 2 1 0 1106 0
1 6 2 1 0 1105 0
1 7 2 1 0 1104 0
1 8 2 1 0 1103 0
1 9 2 1 0 1102 0
1 10 2 1 0 1101 0
1 11 2 1 0 1100 0
1 12 2 1 0 1099 0
1 13 2 1 0 1098 0
1 14 2 1 0 1097 0
1 15 2 1 0 1096 0
1 16 2 1 0 1095 0
1 17 2 1 0 1094 0
1 1...

result:

ok good plan!

Test #99:

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

input:

904

output:

1 1 2 1 0 1356 0
1 2 2 1 0 1355 0
1 3 2 1 0 1354 0
1 4 2 1 0 1353 0
1 5 2 1 0 1352 0
1 6 2 1 0 1351 0
1 7 2 1 0 1350 0
1 8 2 1 0 1349 0
1 9 2 1 0 1348 0
1 10 2 1 0 1347 0
1 11 2 1 0 1346 0
1 12 2 1 0 1345 0
1 13 2 1 0 1344 0
1 14 2 1 0 1343 0
1 15 2 1 0 1342 0
1 16 2 1 0 1341 0
1 17 2 1 0 1340 0
1 1...

result:

ok good plan!

Test #100:

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

input:

797

output:

1 1 2 1 0 1195 0
1 2 2 1 0 1194 0
1 3 2 1 0 1193 0
1 4 2 1 0 1192 0
1 5 2 1 0 1191 0
1 6 2 1 0 1190 0
1 7 2 1 0 1189 0
1 8 2 1 0 1188 0
1 9 2 1 0 1187 0
1 10 2 1 0 1186 0
1 11 2 1 0 1185 0
1 12 2 1 0 1184 0
1 13 2 1 0 1183 0
1 14 2 1 0 1182 0
1 15 2 1 0 1181 0
1 16 2 1 0 1180 0
1 17 2 1 0 1179 0
1 1...

result:

ok good plan!

Test #101:

score: 0
Accepted
time: 21ms
memory: 3576kb

input:

284

output:

1 1 2 1 0 426 0
1 2 2 1 0 425 0
1 3 2 1 0 424 0
1 4 2 1 0 423 0
1 5 2 1 0 422 0
1 6 2 1 0 421 0
1 7 2 1 0 420 0
1 8 2 1 0 419 0
1 9 2 1 0 418 0
1 10 2 1 0 417 0
1 11 2 1 0 416 0
1 12 2 1 0 415 0
1 13 2 1 0 414 0
1 14 2 1 0 413 0
1 15 2 1 0 412 0
1 16 2 1 0 411 0
1 17 2 1 0 410 0
1 18 2 1 0 409 0
1 1...

result:

ok good plan!

Test #102:

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

input:

347

output:

1 1 2 1 0 520 0
1 2 2 1 0 519 0
1 3 2 1 0 518 0
1 4 2 1 0 517 0
1 5 2 1 0 516 0
1 6 2 1 0 515 0
1 7 2 1 0 514 0
1 8 2 1 0 513 0
1 9 2 1 0 512 0
1 10 2 1 0 511 0
1 11 2 1 0 510 0
1 12 2 1 0 509 0
1 13 2 1 0 508 0
1 14 2 1 0 507 0
1 15 2 1 0 506 0
1 16 2 1 0 505 0
1 17 2 1 0 504 0
1 18 2 1 0 503 0
1 1...

result:

ok good plan!

Test #103:

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

input:

113

output:

1 1 2 1 0 169 0
1 2 2 1 0 168 0
1 3 2 1 0 167 0
1 4 2 1 0 166 0
1 5 2 1 0 165 0
1 6 2 1 0 164 0
1 7 2 1 0 163 0
1 8 2 1 0 162 0
1 9 2 1 0 161 0
1 10 2 1 0 160 0
1 11 2 1 0 159 0
1 12 2 1 0 158 0
1 13 2 1 0 157 0
1 14 2 1 0 156 0
1 15 2 1 0 155 0
1 16 2 1 0 154 0
1 17 2 1 0 153 0
1 18 2 1 0 152 0
1 1...

result:

ok good plan!

Test #104:

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

input:

422

output:

1 1 2 1 0 633 0
1 2 2 1 0 632 0
1 3 2 1 0 631 0
1 4 2 1 0 630 0
1 5 2 1 0 629 0
1 6 2 1 0 628 0
1 7 2 1 0 627 0
1 8 2 1 0 626 0
1 9 2 1 0 625 0
1 10 2 1 0 624 0
1 11 2 1 0 623 0
1 12 2 1 0 622 0
1 13 2 1 0 621 0
1 14 2 1 0 620 0
1 15 2 1 0 619 0
1 16 2 1 0 618 0
1 17 2 1 0 617 0
1 18 2 1 0 616 0
1 1...

result:

ok good plan!

Test #105:

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

input:

476

output:

1 1 2 1 0 714 0
1 2 2 1 0 713 0
1 3 2 1 0 712 0
1 4 2 1 0 711 0
1 5 2 1 0 710 0
1 6 2 1 0 709 0
1 7 2 1 0 708 0
1 8 2 1 0 707 0
1 9 2 1 0 706 0
1 10 2 1 0 705 0
1 11 2 1 0 704 0
1 12 2 1 0 703 0
1 13 2 1 0 702 0
1 14 2 1 0 701 0
1 15 2 1 0 700 0
1 16 2 1 0 699 0
1 17 2 1 0 698 0
1 18 2 1 0 697 0
1 1...

result:

ok good plan!

Test #106:

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

input:

562

output:

1 1 2 1 0 843 0
1 2 2 1 0 842 0
1 3 2 1 0 841 0
1 4 2 1 0 840 0
1 5 2 1 0 839 0
1 6 2 1 0 838 0
1 7 2 1 0 837 0
1 8 2 1 0 836 0
1 9 2 1 0 835 0
1 10 2 1 0 834 0
1 11 2 1 0 833 0
1 12 2 1 0 832 0
1 13 2 1 0 831 0
1 14 2 1 0 830 0
1 15 2 1 0 829 0
1 16 2 1 0 828 0
1 17 2 1 0 827 0
1 18 2 1 0 826 0
1 1...

result:

ok good plan!

Test #107:

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

input:

331

output:

1 1 2 1 0 496 0
1 2 2 1 0 495 0
1 3 2 1 0 494 0
1 4 2 1 0 493 0
1 5 2 1 0 492 0
1 6 2 1 0 491 0
1 7 2 1 0 490 0
1 8 2 1 0 489 0
1 9 2 1 0 488 0
1 10 2 1 0 487 0
1 11 2 1 0 486 0
1 12 2 1 0 485 0
1 13 2 1 0 484 0
1 14 2 1 0 483 0
1 15 2 1 0 482 0
1 16 2 1 0 481 0
1 17 2 1 0 480 0
1 18 2 1 0 479 0
1 1...

result:

ok good plan!

Test #108:

score: 0
Accepted
time: 125ms
memory: 3640kb

input:

703

output:

1 1 2 1 0 1054 0
1 2 2 1 0 1053 0
1 3 2 1 0 1052 0
1 4 2 1 0 1051 0
1 5 2 1 0 1050 0
1 6 2 1 0 1049 0
1 7 2 1 0 1048 0
1 8 2 1 0 1047 0
1 9 2 1 0 1046 0
1 10 2 1 0 1045 0
1 11 2 1 0 1044 0
1 12 2 1 0 1043 0
1 13 2 1 0 1042 0
1 14 2 1 0 1041 0
1 15 2 1 0 1040 0
1 16 2 1 0 1039 0
1 17 2 1 0 1038 0
1 1...

result:

ok good plan!

Test #109:

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

input:

564

output:

1 1 2 1 0 846 0
1 2 2 1 0 845 0
1 3 2 1 0 844 0
1 4 2 1 0 843 0
1 5 2 1 0 842 0
1 6 2 1 0 841 0
1 7 2 1 0 840 0
1 8 2 1 0 839 0
1 9 2 1 0 838 0
1 10 2 1 0 837 0
1 11 2 1 0 836 0
1 12 2 1 0 835 0
1 13 2 1 0 834 0
1 14 2 1 0 833 0
1 15 2 1 0 832 0
1 16 2 1 0 831 0
1 17 2 1 0 830 0
1 18 2 1 0 829 0
1 1...

result:

ok good plan!

Test #110:

score: 0
Accepted
time: 110ms
memory: 3680kb

input:

672

output:

1 1 2 1 0 1008 0
1 2 2 1 0 1007 0
1 3 2 1 0 1006 0
1 4 2 1 0 1005 0
1 5 2 1 0 1004 0
1 6 2 1 0 1003 0
1 7 2 1 0 1002 0
1 8 2 1 0 1001 0
1 9 2 1 0 1000 0
1 10 2 1 0 999 0
1 11 2 1 0 998 0
1 12 2 1 0 997 0
1 13 2 1 0 996 0
1 14 2 1 0 995 0
1 15 2 1 0 994 0
1 16 2 1 0 993 0
1 17 2 1 0 992 0
1 18 2 1 0 ...

result:

ok good plan!

Test #111:

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

input:

989

output:

1 1 2 1 0 1483 0
1 2 2 1 0 1482 0
1 3 2 1 0 1481 0
1 4 2 1 0 1480 0
1 5 2 1 0 1479 0
1 6 2 1 0 1478 0
1 7 2 1 0 1477 0
1 8 2 1 0 1476 0
1 9 2 1 0 1475 0
1 10 2 1 0 1474 0
1 11 2 1 0 1473 0
1 12 2 1 0 1472 0
1 13 2 1 0 1471 0
1 14 2 1 0 1470 0
1 15 2 1 0 1469 0
1 16 2 1 0 1468 0
1 17 2 1 0 1467 0
1 1...

result:

ok good plan!

Test #112:

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

input:

431

output:

1 1 2 1 0 646 0
1 2 2 1 0 645 0
1 3 2 1 0 644 0
1 4 2 1 0 643 0
1 5 2 1 0 642 0
1 6 2 1 0 641 0
1 7 2 1 0 640 0
1 8 2 1 0 639 0
1 9 2 1 0 638 0
1 10 2 1 0 637 0
1 11 2 1 0 636 0
1 12 2 1 0 635 0
1 13 2 1 0 634 0
1 14 2 1 0 633 0
1 15 2 1 0 632 0
1 16 2 1 0 631 0
1 17 2 1 0 630 0
1 18 2 1 0 629 0
1 1...

result:

ok good plan!

Test #113:

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

input:

458

output:

1 1 2 1 0 687 0
1 2 2 1 0 686 0
1 3 2 1 0 685 0
1 4 2 1 0 684 0
1 5 2 1 0 683 0
1 6 2 1 0 682 0
1 7 2 1 0 681 0
1 8 2 1 0 680 0
1 9 2 1 0 679 0
1 10 2 1 0 678 0
1 11 2 1 0 677 0
1 12 2 1 0 676 0
1 13 2 1 0 675 0
1 14 2 1 0 674 0
1 15 2 1 0 673 0
1 16 2 1 0 672 0
1 17 2 1 0 671 0
1 18 2 1 0 670 0
1 1...

result:

ok good plan!

Test #114:

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

input:

506

output:

1 1 2 1 0 759 0
1 2 2 1 0 758 0
1 3 2 1 0 757 0
1 4 2 1 0 756 0
1 5 2 1 0 755 0
1 6 2 1 0 754 0
1 7 2 1 0 753 0
1 8 2 1 0 752 0
1 9 2 1 0 751 0
1 10 2 1 0 750 0
1 11 2 1 0 749 0
1 12 2 1 0 748 0
1 13 2 1 0 747 0
1 14 2 1 0 746 0
1 15 2 1 0 745 0
1 16 2 1 0 744 0
1 17 2 1 0 743 0
1 18 2 1 0 742 0
1 1...

result:

ok good plan!

Test #115:

score: 0
Accepted
time: 31ms
memory: 3592kb

input:

371

output:

1 1 2 1 0 556 0
1 2 2 1 0 555 0
1 3 2 1 0 554 0
1 4 2 1 0 553 0
1 5 2 1 0 552 0
1 6 2 1 0 551 0
1 7 2 1 0 550 0
1 8 2 1 0 549 0
1 9 2 1 0 548 0
1 10 2 1 0 547 0
1 11 2 1 0 546 0
1 12 2 1 0 545 0
1 13 2 1 0 544 0
1 14 2 1 0 543 0
1 15 2 1 0 542 0
1 16 2 1 0 541 0
1 17 2 1 0 540 0
1 18 2 1 0 539 0
1 1...

result:

ok good plan!