QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#448997#6985. Card Tricksabagoduadze100 ✓1ms3956kbC++23574b2024-06-20 15:51:242024-06-20 15:51:25

Judging History

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

  • [2024-06-20 15:51:25]
  • 评测
  • 测评结果:100
  • 用时:1ms
  • 内存:3956kb
  • [2024-06-20 15:51:24]
  • 提交

First

#include "stub.h"
#include <bits/stdc++.h>
void swapCards(int cards[], int S, int T){
	bool u[55];
	for (int i=0; i<52; i++) u[i]=0;
	for (int i=0; i<52; i++){
		if (u[i]) continue;
		int a[55];
		int cur=i,l=0;
		while (u[cur]==0){
			//std::cout<<i<<" "<<cur<<"\n";
			a[l]=cur; l++;
			u[cur]=1; cur=cards[cur];
		} l--;
		for (int i=T-1; i<l; i+=T){
			doSwap(a[i],a[l]);
		}
	}
}

Second

#include "stub.h"
#include <bits/stdc++.h>
void guessCard(int S, int T, int target){
	int cur=guess(target);
	while (cur!=target){
		cur=guess(cur);
	}
	return;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 16
Accepted

Test #1:

score: 16
Accepted
time: 1ms
memory: 3956kb

Manager to Aoi

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

Aoi to Manager

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

Manager to Bitaro

52 1 21
21

Bitaro to Manager

21

Manager to Checker

OK

result:

ok correct

Test #2:

score: 16
Accepted
time: 1ms
memory: 3880kb

Manager to Aoi

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

Aoi to Manager

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

Manager to Bitaro

52 1 6
6

Bitaro to Manager

6

Manager to Checker

OK

result:

ok correct

Test #3:

score: 16
Accepted
time: 1ms
memory: 3956kb

Manager to Aoi

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

Aoi to Manager

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

Manager to Bitaro

52 1 6
6

Bitaro to Manager

6

Manager to Checker

OK

result:

ok correct

Test #4:

score: 16
Accepted
time: 1ms
memory: 3880kb

Manager to Aoi

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

Aoi to Manager

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

Manager to Bitaro

52 1 27
27

Bitaro to Manager

27

Manager to Checker

OK

result:

ok correct

Test #5:

score: 16
Accepted
time: 1ms
memory: 3880kb

Manager to Aoi

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

Aoi to Manager

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

Manager to Bitaro

52 1 38
38

Bitaro to Manager

38

Manager to Checker

OK

result:

ok correct

Subtask #2:

score: 20
Accepted

Test #6:

score: 20
Accepted
time: 1ms
memory: 3888kb

Manager to Aoi

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

Aoi to Manager

8
18 14
13 14
33 41
10 41
29 41
49 41
4 41
17 41

Manager to Bitaro

47 5 2
23
14
27
2

Bitaro to Manager

2
23
14
27

Manager to Checker

OK

result:

ok correct

Test #7:

score: 20
Accepted
time: 1ms
memory: 3948kb

Manager to Aoi

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

Aoi to Manager

1
10 37

Manager to Bitaro

11 41 37
6
33
43
44
36
4
35
37

Bitaro to Manager

37
6
33
43
44
36
4
35

Manager to Checker

OK

result:

ok correct

Test #8:

score: 20
Accepted
time: 1ms
memory: 3944kb

Manager to Aoi

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

Aoi to Manager

2
4 42
43 18

Manager to Bitaro

36 16 48
18
47
35
6
40
25
12
15
38
21
24
23
28
48

Bitaro to Manager

48
18
47
35
6
40
25
12
15
38
21
24
23
28

Manager to Checker

OK

result:

ok correct

Test #9:

score: 20
Accepted
time: 1ms
memory: 3956kb

Manager to Aoi

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

Aoi to Manager

0

Manager to Bitaro

20 32 30
16
0
29
19
2
45
35
20
4
30

Bitaro to Manager

30
16
0
29
19
2
45
35
20
4

Manager to Checker

OK

result:

ok correct

Test #10:

score: 20
Accepted
time: 1ms
memory: 3880kb

Manager to Aoi

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

Aoi to Manager

4
46 9
3 9
13 50
7 50

Manager to Bitaro

44 8 21
0
37
21

Bitaro to Manager

21
0
37

Manager to Checker

OK

result:

ok correct

Test #11:

score: 20
Accepted
time: 1ms
memory: 3956kb

Manager to Aoi

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

Aoi to Manager

0

Manager to Bitaro

22 30 19
31
28
0
38
18
12
24
14
19

Bitaro to Manager

19
31
28
0
38
18
12
24
14

Manager to Checker

OK

result:

ok correct

Test #12:

score: 20
Accepted
time: 1ms
memory: 3868kb

Manager to Aoi

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

Aoi to Manager

1
49 35

Manager to Bitaro

30 22 17
22
23
41
37
48
36
14
35
13
16
18
29
50
19
45
17

Bitaro to Manager

17
22
23
41
37
48
36
14
35
13
16
18
29
50
19
45

Manager to Checker

OK

result:

ok correct

Test #13:

score: 20
Accepted
time: 1ms
memory: 3888kb

Manager to Aoi

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

Aoi to Manager

0

Manager to Bitaro

3 49 50
46
19
31
14
24
39
5
50

Bitaro to Manager

50
46
19
31
14
24
39
5

Manager to Checker

OK

result:

ok correct

Test #14:

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

Manager to Aoi

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

Aoi to Manager

0

Manager to Bitaro

18 34 0
11
15
35
38
19
21
3
34
48
42
13
0

Bitaro to Manager

0
11
15
35
38
19
21
3
34
48
42
13

Manager to Checker

OK

result:

ok correct

Test #15:

score: 20
Accepted
time: 1ms
memory: 3816kb

Manager to Aoi

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

Aoi to Manager

0

Manager to Bitaro

14 38 3
5
31
45
29
48
49
40
16
3

Bitaro to Manager

3
5
31
45
29
48
49
40
16

Manager to Checker

OK

result:

ok correct

Subtask #3:

score: 22
Accepted

Test #16:

score: 22
Accepted
time: 1ms
memory: 3876kb

Manager to Aoi

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

Aoi to Manager

1
19 20

Manager to Bitaro

13 27 15
11
36
40
19
7
32
30
49
14
29
31
34
9
28
25
21
13
47
46
38
45
8
26
43
39
41
15

Bitaro to Manager

15
11
36
40
19
7
32
30
49
14
29
31
34
9
28
25
21
13
47
46
38
45
8
26
43
39
41

Manager to Checker

OK

result:

ok correct

Test #17:

score: 22
Accepted
time: 1ms
memory: 3932kb

Manager to Aoi

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

Aoi to Manager

0

Manager to Bitaro

13 27 18
45
22
16
20
18

Bitaro to Manager

18
45
22
16
20

Manager to Checker

OK

result:

ok correct

Test #18:

score: 22
Accepted
time: 1ms
memory: 3948kb

Manager to Aoi

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

Aoi to Manager

1
2 16

Manager to Bitaro

13 27 43
31
41
25
36
23
51
5
46
50
27
19
45
21
33
48
10
38
49
16
18
37
17
12
43

Bitaro to Manager

43
31
41
25
36
23
51
5
46
50
27
19
45
21
33
48
10
38
49
16
18
37
17
12

Manager to Checker

OK

result:

ok correct

Test #19:

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

Manager to Aoi

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

Aoi to Manager

1
3 35

Manager to Bitaro

13 27 5
20
6
46
35
44
26
5

Bitaro to Manager

5
20
6
46
35
44
26

Manager to Checker

OK

result:

ok correct

Test #20:

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

Manager to Aoi

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

Aoi to Manager

0

Manager to Bitaro

13 27 36
48
7
6
14
12
42
21
46
28
16
33
43
15
24
34
49
18
4
25
11
2
0
27
36

Bitaro to Manager

36
48
7
6
14
12
42
21
46
28
16
33
43
15
24
34
49
18
4
25
11
2
0
27

Manager to Checker

OK

result:

ok correct

Test #21:

score: 22
Accepted
time: 1ms
memory: 3936kb

Manager to Aoi

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

Aoi to Manager

1
43 42

Manager to Bitaro

13 27 39
18
1
22
21
34
49
7
9
46
15
27
30
12
25
36
32
47
20
13
8
29
45
43
0
31
17
39

Bitaro to Manager

39
18
1
22
21
34
49
7
9
46
15
27
30
12
25
36
32
47
20
13
8
29
45
43
0
31
17

Manager to Checker

OK

result:

ok correct

Test #22:

score: 22
Accepted
time: 1ms
memory: 3956kb

Manager to Aoi

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

Aoi to Manager

1
27 40

Manager to Bitaro

13 27 51
5
12
50
6
44
41
23
38
36
4
49
42
25
10
26
37
29
20
31
22
27
3
8
13
7
45
51

Bitaro to Manager

51
5
12
50
6
44
41
23
38
36
4
49
42
25
10
26
37
29
20
31
22
27
3
8
13
7
45

Manager to Checker

OK

result:

ok correct

Test #23:

score: 22
Accepted
time: 1ms
memory: 3884kb

Manager to Aoi

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

Aoi to Manager

1
38 35

Manager to Bitaro

13 27 47
24
30
11
36
48
6
4
40
42
44
49
38
0
10
9
41
25
39
23
46
34
50
3
8
2
12
47

Bitaro to Manager

47
24
30
11
36
48
6
4
40
42
44
49
38
0
10
9
41
25
39
23
46
34
50
3
8
2
12

Manager to Checker

OK

result:

ok correct

Test #24:

score: 22
Accepted
time: 1ms
memory: 3892kb

Manager to Aoi

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

Aoi to Manager

1
16 49

Manager to Bitaro

13 27 21
16
0
1
28
33
18
47
30
37
45
25
9
6
23
48
29
38
42
36
12
26
5
19
43
15
14
21

Bitaro to Manager

21
16
0
1
28
33
18
47
30
37
45
25
9
6
23
48
29
38
42
36
12
26
5
19
43
15
14

Manager to Checker

OK

result:

ok correct

Test #25:

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

Manager to Aoi

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

Aoi to Manager

0

Manager to Bitaro

13 27 26
19
45
25
38
12
28
37
22
20
40
2
42
3
6
33
46
48
11
0
44
9
29
36
26

Bitaro to Manager

26
19
45
25
38
12
28
37
22
20
40
2
42
3
6
33
46
48
11
0
44
9
29
36

Manager to Checker

OK

result:

ok correct

Test #26:

score: 22
Accepted
time: 1ms
memory: 3956kb

Manager to Aoi

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

Aoi to Manager

0

Manager to Bitaro

13 27 43
26
13
47
17
51
46
29
38
50
35
21
11
4
6
40
49
5
7
24
25
43

Bitaro to Manager

43
26
13
47
17
51
46
29
38
50
35
21
11
4
6
40
49
5
7
24
25

Manager to Checker

OK

result:

ok correct

Test #27:

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

Manager to Aoi

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

Aoi to Manager

1
44 33

Manager to Bitaro

13 27 22
45
2
12
7
23
14
13
4
41
27
50
26
48
5
33
38
22

Bitaro to Manager

22
45
2
12
7
23
14
13
4
41
27
50
26
48
5
33
38

Manager to Checker

OK

result:

ok correct

Test #28:

score: 22
Accepted
time: 1ms
memory: 3936kb

Manager to Aoi

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

Aoi to Manager

0

Manager to Bitaro

13 27 48
16
27
18
25
31
36
48

Bitaro to Manager

48
16
27
18
25
31
36

Manager to Checker

OK

result:

ok correct

Test #29:

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

Manager to Aoi

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

Aoi to Manager

0

Manager to Bitaro

13 27 18
0
21
10
9
18

Bitaro to Manager

18
0
21
10
9

Manager to Checker

OK

result:

ok correct

Test #30:

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

Manager to Aoi

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

Aoi to Manager

1
23 25

Manager to Bitaro

13 27 0
15
37
30
14
13
51
10
21
45
41
16
11
43
1
32
12
39
17
36
46
47
40
42
2
28
23
0

Bitaro to Manager

0
15
37
30
14
13
51
10
21
45
41
16
11
43
1
32
12
39
17
36
46
47
40
42
2
28
23

Manager to Checker

OK

result:

ok correct

Test #31:

score: 22
Accepted
time: 1ms
memory: 3872kb

Manager to Aoi

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

Aoi to Manager

0

Manager to Bitaro

13 27 16
25
47
40
18
50
6
42
48
46
27
38
1
20
35
10
13
0
45
34
14
19
36
16

Bitaro to Manager

16
25
47
40
18
50
6
42
48
46
27
38
1
20
35
10
13
0
45
34
14
19
36

Manager to Checker

OK

result:

ok correct

Test #32:

score: 22
Accepted
time: 1ms
memory: 3816kb

Manager to Aoi

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

Aoi to Manager

0

Manager to Bitaro

13 27 49
4
14
20
41
27
30
6
28
39
17
11
10
48
13
45
9
7
24
38
35
0
31
2
12
34
49

Bitaro to Manager

49
4
14
20
41
27
30
6
28
39
17
11
10
48
13
45
9
7
24
38
35
0
31
2
12
34

Manager to Checker

OK

result:

ok correct

Test #33:

score: 22
Accepted
time: 1ms
memory: 3944kb

Manager to Aoi

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

Aoi to Manager

1
14 6

Manager to Bitaro

13 27 40
7
8
11
50
48
17
4
36
23
19
31
9
25
22
14
2
44
21
45
29
49
51
18
47
5
41
40

Bitaro to Manager

40
7
8
11
50
48
17
4
36
23
19
31
9
25
22
14
2
44
21
45
29
49
51
18
47
5
41

Manager to Checker

OK

result:

ok correct

Test #34:

score: 22
Accepted
time: 1ms
memory: 3792kb

Manager to Aoi

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

Aoi to Manager

1
10 27

Manager to Bitaro

13 27 13
16
17
46
18
36
19
44
23
45
21
41
48
8
50
34
32
11
5
12
51
28
35
49
10
0
31
13

Bitaro to Manager

13
16
17
46
18
36
19
44
23
45
21
41
48
8
50
34
32
11
5
12
51
28
35
49
10
0
31

Manager to Checker

OK

result:

ok correct

Test #35:

score: 22
Accepted
time: 1ms
memory: 3936kb

Manager to Aoi

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

Aoi to Manager

0

Manager to Bitaro

13 27 26
43
8
45
51
17
47
21
16
2
37
22
26

Bitaro to Manager

26
43
8
45
51
17
47
21
16
2
37
22

Manager to Checker

OK

result:

ok correct

Subtask #4:

score: 18
Accepted

Test #36:

score: 18
Accepted
time: 1ms
memory: 3872kb

Manager to Aoi

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

Aoi to Manager

1
12 23

Manager to Bitaro

1 26 45
43
30
32
2
35
50
41
40
12
0
20
14
31
28
42
9
11
44
15
3
6
1
34
48
39
45

Bitaro to Manager

45
43
30
32
2
35
50
41
40
12
0
20
14
31
28
42
9
11
44
15
3
6
1
34
48
39

Manager to Checker

OK

result:

ok correct

Test #37:

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

Manager to Aoi

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

Aoi to Manager

1
18 25

Manager to Bitaro

1 26 0
46
19
11
36
27
26
2
15
3
35
40
50
20
13
49
51
8
14
48
38
1
34
31
4
18
0

Bitaro to Manager

0
46
19
11
36
27
26
2
15
3
35
40
50
20
13
49
51
8
14
48
38
1
34
31
4
18

Manager to Checker

OK

result:

ok correct

Test #38:

score: 18
Accepted
time: 1ms
memory: 3876kb

Manager to Aoi

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

Aoi to Manager

1
22 2

Manager to Bitaro

1 26 21
14
24
22
0
8
27
5
17
11
30
16
18
32
4
38
44
7
25
29
43
51
42
28
34
33
21

Bitaro to Manager

21
14
24
22
0
8
27
5
17
11
30
16
18
32
4
38
44
7
25
29
43
51
42
28
34
33

Manager to Checker

OK

result:

ok correct

Test #39:

score: 18
Accepted
time: 1ms
memory: 3872kb

Manager to Aoi

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

Aoi to Manager

1
39 15

Manager to Bitaro

1 26 39
0
26
31
23
34
36
46
49
10
25
18
43
21
33
17
37
28
16
9
13
19
12
5
6
2
39

Bitaro to Manager

39
0
26
31
23
34
36
46
49
10
25
18
43
21
33
17
37
28
16
9
13
19
12
5
6
2

Manager to Checker

OK

result:

ok correct

Test #40:

score: 18
Accepted
time: 1ms
memory: 3872kb

Manager to Aoi

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

Aoi to Manager

1
49 8

Manager to Bitaro

1 26 37
27
11
38
51
6
26
39
28
19
46
33
3
14
44
50
8
20
43
17
18
40
15
42
30
31
37

Bitaro to Manager

37
27
11
38
51
6
26
39
28
19
46
33
3
14
44
50
8
20
43
17
18
40
15
42
30
31

Manager to Checker

OK

result:

ok correct

Test #41:

score: 18
Accepted
time: 1ms
memory: 3948kb

Manager to Aoi

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

Aoi to Manager

1
29 34

Manager to Bitaro

1 26 5
41
18
48
38
35
28
50
51
10
37
8
43
45
24
22
34
14
17
42
39
20
46
40
19
27
5

Bitaro to Manager

5
41
18
48
38
35
28
50
51
10
37
8
43
45
24
22
34
14
17
42
39
20
46
40
19
27

Manager to Checker

OK

result:

ok correct

Test #42:

score: 18
Accepted
time: 1ms
memory: 3824kb

Manager to Aoi

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

Aoi to Manager

1
48 35

Manager to Bitaro

1 26 2
8
35
37
15
7
43
3
14
47
30
18
51
1
9
34
49
24
44
22
27
29
50
26
45
42
2

Bitaro to Manager

2
8
35
37
15
7
43
3
14
47
30
18
51
1
9
34
49
24
44
22
27
29
50
26
45
42

Manager to Checker

OK

result:

ok correct

Test #43:

score: 18
Accepted
time: 1ms
memory: 3872kb

Manager to Aoi

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

Aoi to Manager

1
39 22

Manager to Bitaro

1 26 39
0
16
49
29
21
26
48
2
37
27
10
17
50
35
42
20
23
24
9
44
8
47
12
15
13
39

Bitaro to Manager

39
0
16
49
29
21
26
48
2
37
27
10
17
50
35
42
20
23
24
9
44
8
47
12
15
13

Manager to Checker

OK

result:

ok correct

Test #44:

score: 18
Accepted
time: 1ms
memory: 3936kb

Manager to Aoi

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

Aoi to Manager

1
1 46

Manager to Bitaro

1 26 47
36
43
11
18
3
9
30
40
17
25
35
26
23
31
37
27
33
4
41
19
1
0
7
15
21
47

Bitaro to Manager

47
36
43
11
18
3
9
30
40
17
25
35
26
23
31
37
27
33
4
41
19
1
0
7
15
21

Manager to Checker

OK

result:

ok correct

Test #45:

score: 18
Accepted
time: 1ms
memory: 3868kb

Manager to Aoi

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

Aoi to Manager

1
41 29

Manager to Bitaro

1 26 22
5
45
14
7
23
26
31
13
46
38
29
37
44
34
9
32
47
42
15
30
16
40
19
51
33
22

Bitaro to Manager

22
5
45
14
7
23
26
31
13
46
38
29
37
44
34
9
32
47
42
15
30
16
40
19
51
33

Manager to Checker

OK

result:

ok correct

Test #46:

score: 18
Accepted
time: 1ms
memory: 3868kb

Manager to Aoi

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

Aoi to Manager

1
40 24

Manager to Bitaro

1 26 20
21
29
38
39
45
1
16
10
2
24
33
50
25
27
20

Bitaro to Manager

20
21
29
38
39
45
1
16
10
2
24
33
50
25
27

Manager to Checker

OK

result:

ok correct

Test #47:

score: 18
Accepted
time: 1ms
memory: 3940kb

Manager to Aoi

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

Aoi to Manager

1
50 21

Manager to Bitaro

1 26 39
38
12
14
7
50
0
24
17
44
1
5
36
16
3
18
47
19
42
32
2
30
27
22
25
15
39

Bitaro to Manager

39
38
12
14
7
50
0
24
17
44
1
5
36
16
3
18
47
19
42
32
2
30
27
22
25
15

Manager to Checker

OK

result:

ok correct

Test #48:

score: 18
Accepted
time: 1ms
memory: 3868kb

Manager to Aoi

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

Aoi to Manager

1
1 31

Manager to Bitaro

1 26 15
1
0
45
49
12
47
6
24
51
48
19
43
36
4
28
40
29
35
11
23
18
7
50
13
9
15

Bitaro to Manager

15
1
0
45
49
12
47
6
24
51
48
19
43
36
4
28
40
29
35
11
23
18
7
50
13
9

Manager to Checker

OK

result:

ok correct

Test #49:

score: 18
Accepted
time: 1ms
memory: 3876kb

Manager to Aoi

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

Aoi to Manager

1
9 17

Manager to Bitaro

1 26 1
29
30
46
1

Bitaro to Manager

1
29
30
46

Manager to Checker

OK

result:

ok correct

Test #50:

score: 18
Accepted
time: 1ms
memory: 3876kb

Manager to Aoi

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

Aoi to Manager

0

Manager to Bitaro

1 26 25
37
38
8
21
13
10
33
49
50
22
27
36
34
16
48
25

Bitaro to Manager

25
37
38
8
21
13
10
33
49
50
22
27
36
34
16
48

Manager to Checker

OK

result:

ok correct

Test #51:

score: 18
Accepted
time: 1ms
memory: 3888kb

Manager to Aoi

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

Aoi to Manager

1
28 6

Manager to Bitaro

1 26 13
14
38
36
6
49
27
23
39
31
11
45
20
2
15
18
42
19
30
21
48
12
43
40
33
47
13

Bitaro to Manager

13
14
38
36
6
49
27
23
39
31
11
45
20
2
15
18
42
19
30
21
48
12
43
40
33
47

Manager to Checker

OK

result:

ok correct

Test #52:

score: 18
Accepted
time: 1ms
memory: 3888kb

Manager to Aoi

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

Aoi to Manager

1
44 36

Manager to Bitaro

1 26 17
33
43
5
19
6
11
7
14
2
21
45
18
46
25
16
48
32
37
26
13
1
3
22
36
31
17

Bitaro to Manager

17
33
43
5
19
6
11
7
14
2
21
45
18
46
25
16
48
32
37
26
13
1
3
22
36
31

Manager to Checker

OK

result:

ok correct

Test #53:

score: 18
Accepted
time: 1ms
memory: 3876kb

Manager to Aoi

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

Aoi to Manager

1
21 3

Manager to Bitaro

1 26 15
34
4
27
22
25
30
29
19
7
43
20
18
31
47
13
17
28
3
44
37
41
51
5
33
46
15

Bitaro to Manager

15
34
4
27
22
25
30
29
19
7
43
20
18
31
47
13
17
28
3
44
37
41
51
5
33
46

Manager to Checker

OK

result:

ok correct

Test #54:

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

Manager to Aoi

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

Aoi to Manager

1
40 43

Manager to Bitaro

1 26 20
44
49
23
22
38
43
5
9
16
1
47
14
46
13
39
45
2
42
51
41
35
34
33
25
50
20

Bitaro to Manager

20
44
49
23
22
38
43
5
9
16
1
47
14
46
13
39
45
2
42
51
41
35
34
33
25
50

Manager to Checker

OK

result:

ok correct

Test #55:

score: 18
Accepted
time: 1ms
memory: 3952kb

Manager to Aoi

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

Aoi to Manager

1
19 36

Manager to Bitaro

1 26 22
13
10
7
42
47
38
45
39
36
16
12
1
2
30
34
33
32
24
28
25
17
3
23
20
29
22

Bitaro to Manager

22
13
10
7
42
47
38
45
39
36
16
12
1
2
30
34
33
32
24
28
25
17
3
23
20
29

Manager to Checker

OK

result:

ok correct

Subtask #5:

score: 24
Accepted

Test #56:

score: 24
Accepted
time: 1ms
memory: 3816kb

Manager to Aoi

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

Aoi to Manager

3
26 2
7 2
6 2

Manager to Bitaro

3 13 19
41
16
17
32
23
9
1
36
27
26
0
30
19

Bitaro to Manager

19
41
16
17
32
23
9
1
36
27
26
0
30

Manager to Checker

OK

result:

ok correct

Test #57:

score: 24
Accepted
time: 1ms
memory: 3936kb

Manager to Aoi

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

Aoi to Manager

8
5 32
34 32
51 32
12 32
42 32
18 32
39 32
49 32

Manager to Bitaro

9 6 43
6
22
42
35
41
43

Bitaro to Manager

43
6
22
42
35
41

Manager to Checker

OK

result:

ok correct

Test #58:

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

Manager to Aoi

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

Aoi to Manager

1
39 49

Manager to Bitaro

1 26 1
11
10
34
33
51
4
37
42
39
0
22
15
8
18
50
6
12
29
28
3
26
44
32
21
30
1

Bitaro to Manager

1
11
10
34
33
51
4
37
42
39
0
22
15
8
18
50
6
12
29
28
3
26
44
32
21
30

Manager to Checker

OK

result:

ok correct

Test #59:

score: 24
Accepted
time: 1ms
memory: 3864kb

Manager to Aoi

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

Aoi to Manager

4
40 10
39 10
9 10
13 10

Manager to Bitaro

4 11 14
4
38
3
45
43
35
34
46
40
0
14

Bitaro to Manager

14
4
38
3
45
43
35
34
46
40
0

Manager to Checker

OK

result:

ok correct

Test #60:

score: 24
Accepted
time: 0ms
memory: 3952kb

Manager to Aoi

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

Aoi to Manager

8
8 17
2 17
28 17
5 17
10 17
16 17
40 17
22 17

Manager to Bitaro

9 6 7
23
3
29
41
22
7

Bitaro to Manager

7
23
3
29
41
22

Manager to Checker

OK

result:

ok correct

Test #61:

score: 24
Accepted
time: 1ms
memory: 3884kb

Manager to Aoi

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

Aoi to Manager

7
11 17
22 10
45 10
31 10
2 10
46 26
35 26

Manager to Bitaro

8 6 29
16
30
41
39
10
29

Bitaro to Manager

29
16
30
41
39
10

Manager to Checker

OK

result:

ok correct

Test #62:

score: 24
Accepted
time: 1ms
memory: 3956kb

Manager to Aoi

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

Aoi to Manager

1
22 16

Manager to Bitaro

2 18 7
39
28
31
10
49
2
23
46
5
37
29
48
8
22
1
43
41
7

Bitaro to Manager

7
39
28
31
10
49
2
23
46
5
37
29
48
8
22
1
43
41

Manager to Checker

OK

result:

ok correct

Test #63:

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

Manager to Aoi

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

Aoi to Manager

8
33 4
44 4
12 4
25 17
16 17
11 17
8 34
35 34

Manager to Bitaro

10 5 21
9
50
27
12
21

Bitaro to Manager

21
9
50
27
12

Manager to Checker

OK

result:

ok correct

Test #64:

score: 24
Accepted
time: 1ms
memory: 3884kb

Manager to Aoi

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

Aoi to Manager

2
21 50
41 24

Manager to Bitaro

3 13 40
39
10
7
42
33
25
51
41
1
38
49
5
40

Bitaro to Manager

40
39
10
7
42
33
25
51
41
1
38
49
5

Manager to Checker

OK

result:

ok correct

Test #65:

score: 24
Accepted
time: 1ms
memory: 3952kb

Manager to Aoi

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

Aoi to Manager

6
28 36
24 36
19 36
37 51
8 51
18 51

Manager to Bitaro

6 8 50
15
29
14
20
45
30
8
50

Bitaro to Manager

50
15
29
14
20
45
30
8

Manager to Checker

OK

result:

ok correct