QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#115867#4902. 聚会99pts_WA#18.181818 93ms43284kbC++202.1kb2023-06-27 16:39:092024-05-31 14:19:47

詳細信息

Subtask #1:

score: 9.09091
Accepted

Test #1:

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

input:

1

output:


result:

ok accepted

Test #2:

score: 9.09091
Accepted
time: 2ms
memory: 10044kb

input:

3

output:

1 2 3

result:

ok accepted

Test #3:

score: 9.09091
Accepted
time: 2ms
memory: 10068kb

input:

7

output:

1 2 3
1 5 6
4 2 6
4 5 3
1 4 7
2 5 7
3 6 7

result:

ok accepted

Test #4:

score: 9.09091
Accepted
time: 0ms
memory: 10092kb

input:

15

output:

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

result:

ok accepted

Test #5:

score: 9.09091
Accepted
time: 0ms
memory: 10360kb

input:

31

output:

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

result:

ok accepted

Test #6:

score: 9.09091
Accepted
time: 2ms
memory: 12240kb

input:

63

output:

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

result:

ok accepted

Test #7:

score: 9.09091
Accepted
time: 2ms
memory: 10684kb

input:

127

output:

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

result:

ok accepted

Test #8:

score: 9.09091
Accepted
time: 3ms
memory: 14332kb

input:

255

output:

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

result:

ok accepted

Test #9:

score: 9.09091
Accepted
time: 8ms
memory: 16756kb

input:

511

output:

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

result:

ok accepted

Test #10:

score: 9.09091
Accepted
time: 18ms
memory: 25184kb

input:

1023

output:

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

result:

ok accepted

Test #11:

score: 9.09091
Accepted
time: 93ms
memory: 43284kb

input:

2047

output:

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

result:

ok accepted

Subtask #2:

score: 9.09091
Accepted

Test #12:

score: 9.09091
Accepted
time: 2ms
memory: 9976kb

input:

3

output:

1 2 3

result:

ok accepted

Test #13:

score: 9.09091
Accepted
time: 0ms
memory: 10064kb

input:

9

output:

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

result:

ok accepted

Test #14:

score: 9.09091
Accepted
time: 1ms
memory: 10072kb

input:

27

output:

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

result:

ok accepted

Test #15:

score: 9.09091
Accepted
time: 0ms
memory: 10608kb

input:

81

output:

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

result:

ok accepted

Test #16:

score: 9.09091
Accepted
time: 0ms
memory: 14732kb

input:

243

output:

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

result:

ok accepted

Test #17:

score: 9.09091
Accepted
time: 13ms
memory: 20552kb

input:

729

output:

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

result:

ok accepted

Test #18:

score: 9.09091
Accepted
time: 91ms
memory: 43068kb

input:

2187

output:

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

result:

ok accepted

Subtask #3:

score: 0
Wrong Answer

Test #19:

score: 9.09091
Accepted
time: 1ms
memory: 3596kb

input:

1

output:


result:

ok accepted

Test #20:

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

input:

25

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #4:

score: 0
Wrong Answer

Test #24:

score: 9.09091
Accepted
time: 2ms
memory: 10284kb

input:

7

output:

1 2 3
1 5 6
4 2 6
4 5 3
1 4 7
2 5 7
3 6 7

result:

ok accepted

Test #25:

score: 9.09091
Accepted
time: 0ms
memory: 10104kb

input:

31

output:

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

result:

ok accepted

Test #26:

score: 0
Wrong Answer
time: 1ms
memory: 3628kb

input:

2983

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #5:

score: 0
Wrong Answer

Test #29:

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

input:

13

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #6:

score: 0
Wrong Answer

Test #34:

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

input:

19

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #7:

score: 0
Wrong Answer

Test #39:

score: 9.09091
Accepted
time: 1ms
memory: 10120kb

input:

3

output:

1 2 3

result:

ok accepted

Test #40:

score: 9.09091
Accepted
time: 1ms
memory: 10076kb

input:

27

output:

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

result:

ok accepted

Test #41:

score: 0
Wrong Answer
time: 1ms
memory: 3596kb

input:

2979

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #8:

score: 0
Wrong Answer

Test #44:

score: 0
Wrong Answer
time: 1ms
memory: 3772kb

input:

21

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #9:

score: 0
Wrong Answer

Test #49:

score: 9.09091
Accepted
time: 0ms
memory: 9968kb

input:

9

output:

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

result:

ok accepted

Test #50:

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

input:

33

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #10:

score: 0
Wrong Answer

Test #54:

score: 9.09091
Accepted
time: 2ms
memory: 10176kb

input:

15

output:

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

result:

ok accepted

Test #55:

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

input:

39

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #11:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

0%