QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#312819#4831. Eager Sortingahihi12340 4ms3828kbC++142.9kb2024-01-24 12:36:132024-01-24 12:36:15

详细

Test #1:

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

Interactor to First Run

5
0
1
0
1
0
0
0
0
-1

First Run to Interactor

1 2
2 3
2 4
4 5
1 3
2 3
2 5
3 2
4 5

Interactor to Second Run

5
1
0
1
0
0
0
0
0
0
0
0
0

Second Run to Interactor

1 2
1 3
3 4
3 5
2 1
4 3
1 3
2 3
1 5
2 5
3 5
4 5
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #2:

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

Interactor to First Run

1

First Run to Interactor

-1 -1

Interactor to Second Run

1

Second Run to Interactor

-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #3:

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

Interactor to First Run

2
0

First Run to Interactor

1 2
-1 -1

Interactor to Second Run

2
0

Second Run to Interactor

1 2
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #4:

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

Interactor to First Run

2
1
0

First Run to Interactor

1 2
2 1
-1 -1

Interactor to Second Run

2
0
-1

Second Run to Interactor

1 2
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #5:

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

Interactor to First Run

9
1
0
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
1
1
0
0
0
0
0
0
0
1
1

First Run to Interactor

1 2
1 3
3 4
4 5
4 6
4 7
7 8
7 9
2 1
3 5
4 5
6 4
5 4
8 7
1 3
2 3
4 5
4 7
5 4
6 7
1 4
4 6
2 4
4 6
3 4
4 6
5 6
6 7
7 8
1 9
2 9
3 9
4 9
5 9
6 9
7 9
8 9
-1 -1

Interactor to Second Run

9
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Second Run to Interactor

1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
1 2
3 4
5 6
7 8
1 3
2 3
5 7
6 7
1 5
2 5
3 5
4 5
1 9
2 9
3 9
4 9
5 9
6 9
7 9
8 9
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #6:

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

Interactor to First Run

9
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
0
1
1
0
0
0
0
1
0
1
1
0

First Run to Interactor

1 2
2 3
2 4
2 5
5 6
6 7
7 8
8 9
4 2
3 2
5 6
7 9
8 9
1 3
2 3
2 5
3 2
4 5
7 8
1 2
2 4
4 5
3 4
5 6
4 5
5 6
1 7
2 7
3 7
4 7
5 7
7 8
6 7
7 8
8 9
-1 -1

Interactor to Second Run

9
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Second Run to Interactor

1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
1 2
3 4
5 6
7 8
1 3
2 3
5 7
6 7
1 5
2 5
3 5
4 5
1 9
2 9
3 9
4 9
5 9
6 9
7 9
8 9
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #7:

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

Interactor to First Run

6
1
0
1
0
1
0
0
0
1
0
1
0
0
1
0
1
1
1
1

First Run to Interactor

1 2
1 3
3 4
3 5
5 6
2 1
4 3
6 5
1 3
3 4
2 3
3 4
1 5
2 5
5 6
3 5
5 6
4 5
5 6
-1 -1

Interactor to Second Run

6
0
0
0
0
0
0
0
0
0
0
0

Second Run to Interactor

1 2
2 3
3 4
4 5
5 6
1 3
2 3
1 5
2 5
3 5
4 5
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #8:

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

Interactor to First Run

20
1
0
1
0
0
1
1
0
1
0
0
1
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
0
1
1
0
0
1
0
1
1
0
1
0
1
0
0
0
1
0
0
1
0
1
1
1
1
1
0
1
0
1
0
1
1
1
0
1
1
0
1
0
0
1
0
0
0
1
0
1
0
1
0
1
0
1
1
1
1
1
1
1
1
1
0
1
0
1
1
1
0
1
0
0
1
1
1
0
1
0
1
0
1
0
1
0
1
0
1
1
1
0
1
0
1
0
1
0
1
0
0
1
0
1
0
1
0
1
0

First Run to Interactor

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

Interactor to Second Run

20
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #9:

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

Interactor to First Run

15
0
0
0
1
0
1
0
1
0
0
1
1
1
1
1
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
0
0
1
0
0
0
0
1
0
1
0
1
1
1
0
1
0
1
0
0
0
1
1
1
0
1
1
1
0
1
0
1
0
1
1
1
1
0

First Run to Interactor

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

Interactor to Second Run

15
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #10:

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

Interactor to First Run

20
0
1
0
1
0
1
1
0
1
0
1
0
1
0
0
1
1
1
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
0
1
0
0
0
0
0
0
0
1
1
1
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
1
1
1
1
1
1
1
0
0
0
1
1
1
1
1
0
1
1
1
0
1
0
1
1
1
0
1
1
1
1
1
1
0
1
0
1
0

First Run to Interactor

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

Interactor to Second Run

20
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #11:

score: 100
Accepted
time: 2ms
memory: 3620kb

Interactor to First Run

27
1
0
0
1
1
0
1
0
1
1
0
1
0
1
0
1
0
1
0
0
1
0
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
-1

First Run to Interactor

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

Interactor to Second Run

27
0
0
1
0
1
0
0
1
0
0
1
0
1
0
1
0
1
0
1
1
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
1
1
1
0
1
0
0
1
1
0
0
0
0
0
0
1
0
1
0
1
1
0
0
1
1
1
0
1
0
0
0
1
0
1
1
1
0
1
0
0
0
0
0
1
1
1
0
1
1
1
1
1
0
1
1
1
0
1
1
0
1
0
1
1
1
0
1
0
1
1
1
0
1
1
1
0
1
0
1
0
1
1
0
1
0
1
1
1
1
1
0
1
0
1
1
1
1
1
0
1...

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #12:

score: 100
Accepted
time: 2ms
memory: 3612kb

Interactor to First Run

30
0
1
1
1
0
1
1
1
0
1
1
0
0
1
1
1
0
1
0
0
1
1
0
1
0
0
1
0
0
1
1
1
0
0
0
1
1
1
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
1
0
1
1
1
0
0
0
0
0
1
0
1
1
0
1
1
0
0
1
0
0
1
0
1
0
0
1
1
0
1
1
1
1
1
0
1
0
0
1
1
1
1
1
0
1
0
1
0
0...

First Run to Interactor

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

Interactor to Second Run

30
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
1
1
1
0
0
0
0
1
1
1
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
1
0
1
0
1
0
1
0

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #13:

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

Interactor to First Run

39
0
1
0
0
1
0
1
0
0
1
0
1
1
0
0
0
0
1
1
0
1
0
1
1
0
0
0
1
0
0
1
0
0
1
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
1
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
1
0
1
0
1
1
1
1
1
1
1
1
0
0
0
1
0
1
0
1
0
1
0
1
1
0
1
0
1
1
0
0
0
0
0
1
1
1
0...

First Run to Interactor

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

Interactor to Second Run

39
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
-1

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #14:

score: 100
Accepted
time: 4ms
memory: 3804kb

Interactor to First Run

70
0
1
1
0
1
0
1
0
1
1
0
0
1
1
0
1
1
1
0
1
1
0
1
0
1
0
0
0
1
1
0
1
1
0
0
1
1
0
0
1
0
0
1
0
0
1
1
1
1
0
0
0
1
0
1
1
0
1
1
0
0
1
0
1
0
1
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
-1

First Run to Interactor

1 2
2 3
2 4
2 5
5 6
5 7
7 8
7 9
9 10
9 11
9 12
12 13
13 14
13 15
13 16
16 17
16 18
16 19
16 20
20 21
20 22
20 23
23 24
23 25
25 26
25 27
27 28
28 29
29 30
29 31
29 32
32 33
32 34
32 35
35 36
36 37
36 38
36 39
39 40
40 41
40 42
42 43
43 44
43 45
45 46
46 47
46 48
46 49
46 50
46 51
51 52
52 53
53 54
5...

Interactor to Second Run

70
0
0
1
1
0
1
0
0
0
0
1
1
0
0
1
0
0
0
1
0
1
1
0
1
0
1
0
0
0
0
1
0
1
1
1
0
1
0
1
0
1
1
0
1
1
0
0
0
1
1
0
1
0
1
0
0
1
0
1
1
0
0
1
0
1
0
1
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1...

Second Run to Interactor

1 2
2 3
3 4
3 5
3 6
6 7
6 8
8 9
9 10
10 11
11 12
11 13
11 14
14 15
15 16
15 17
17 18
18 19
19 20
19 21
21 22
21 23
21 24
24 25
24 26
26 27
26 28
28 29
29 30
30 31
31 32
31 33
33 34
33 35
33 36
33 37
37 38
37 39
39 40
39 41
41 42
41 43
41 44
44 45
44 46
44 47
47 48
48 49
49 50
49 51
49 52
52 53
52 54...

Manager to Checker

OK
good job!

result:

ok OK

Test #15:

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

Interactor to First Run

74
0
1
1
0
1
0
0
0
1
1
0
0
0
0
1
0
0
1
0
1
0
0
0
1
0
1
0
0
1
0
0
1
0
1
0
1
0
0
1
0
0
1
0
0
1
0
1
1
0
1
0
1
0
0
1
0
0
1
1
0
1
1
0
1
0
1
1
0
0
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0...

First Run to Interactor

1 2
2 3
2 4
2 5
5 6
5 7
7 8
8 9
9 10
9 11
9 12
12 13
13 14
14 15
15 16
15 17
17 18
18 19
18 20
20 21
20 22
22 23
23 24
24 25
24 26
26 27
26 28
28 29
29 30
29 31
31 32
32 33
32 34
34 35
34 36
36 37
36 38
38 39
39 40
39 41
41 42
42 43
42 44
44 45
45 46
45 47
47 48
47 49
47 50
50 51
50 52
52 53
52 54
5...

Interactor to Second Run

74
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0...

Second Run to Interactor

1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
51 52
52 53
53 54...

Manager to Checker

OK
good job!

result:

ok OK

Test #16:

score: 0
Wrong Answer
time: 0ms
memory: 3560kb

Interactor to First Run

98
0
1
1
0
0
0
0
1
0
0
1
0
1
0
1
1
1
0
0
0
1
0
1
1
0
0
1
1
0
1
0
1
1
0
0
1
0
1
0
1
0
0
1
0
1
0
1
0
1
0
1
1
1
0
1
1
1
1
0
1
1
0
1
0
0
1
0
1
0
1
0
1
0
1
1
0
0
0
1
0
1
0
1
1
1
1
0
0
1
0
1
1
0
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1...

First Run to Interactor

1 2
2 3
2 4
2 5
5 6
6 7
7 8
8 9
8 10
10 11
11 12
11 13
13 14
13 15
15 16
15 17
15 18
15 19
19 20
20 21
21 22
21 23
23 24
23 25
23 26
26 27
27 28
27 29
27 30
30 31
30 32
32 33
32 34
32 35
35 36
36 37
36 38
38 39
38 40
40 41
40 42
42 43
43 44
43 45
45 46
45 47
47 48
47 49
49 50
49 51
51 52
51 53
51 54...

Interactor to Second Run

98
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
-1

Second Run to Interactor

1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
51 52
52 53
53 54...

Manager to Checker

WA
array is not sorted!

result:

wrong answer WA