QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#116665#6320. Parallel Processing (Hard)wlxhkkAC ✓2ms3808kbC++141.4kb2023-06-29 18:43:552023-06-29 18:43:58

詳細信息

Test #1:

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

input:

17

output:

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

result:

ok AC

Test #2:

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

input:

18

output:

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

result:

ok AC

Test #3:

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

input:

19

output:

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

result:

ok AC

Test #4:

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

input:

20

output:

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

result:

ok AC

Test #5:

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

input:

21

output:

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

result:

ok AC

Test #6:

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

input:

120

output:

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

result:

ok AC

Test #7:

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

input:

421

output:

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

result:

ok AC

Test #8:

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

input:

464

output:

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

result:

ok AC

Test #9:

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

input:

812

output:

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

result:

ok AC

Test #10:

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

input:

862

output:

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

result:

ok AC

Test #11:

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

input:

996

output:

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

result:

ok AC

Test #12:

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

input:

997

output:

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

result:

ok AC

Test #13:

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

input:

998

output:

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

result:

ok AC

Test #14:

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

input:

999

output:

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

result:

ok AC

Test #15:

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

input:

1000

output:

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

result:

ok AC