QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#369375#6320. Parallel Processing (Hard)ucup-team864AC ✓2ms3848kbC++231.7kb2024-03-28 05:01:062024-03-28 05:01:08

详细

Test #1:

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

input:

17

output:

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

result:

ok AC

Test #2:

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

input:

18

output:

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

result:

ok AC

Test #3:

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

input:

19

output:

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

result:

ok AC

Test #4:

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

input:

20

output:

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

result:

ok AC

Test #5:

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

input:

21

output:

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

result:

ok AC

Test #6:

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

input:

120

output:

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

result:

ok AC

Test #7:

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

input:

421

output:

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

result:

ok AC

Test #8:

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

input:

464

output:

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

result:

ok AC

Test #9:

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

input:

812

output:

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

result:

ok AC

Test #10:

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

input:

862

output:

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

result:

ok AC

Test #11:

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

input:

996

output:

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

result:

ok AC

Test #12:

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

input:

997

output:

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

result:

ok AC

Test #13:

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

input:

998

output:

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

result:

ok AC

Test #14:

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

input:

999

output:

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

result:

ok AC

Test #15:

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

input:

1000

output:

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

result:

ok AC