QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#162686#5088. Two Choreographiesntu_vjudge_2WA 7ms29672kbC++174.8kb2023-09-03 15:48:542023-09-03 15:48:55

詳細信息

Test #1:

score: 100
Accepted
time: 7ms
memory: 29648kb

input:

4
1 2
1 3
1 4
2 3
2 4

output:

3
1 2 3 
1 2 4 

result:

ok 

Test #2:

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

input:

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

output:

3
1 2 3 
1 2 5 

result:

ok 

Test #3:

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

input:

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

output:

5
1 3 6 5 2 
2 4 3 6 5 

result:

ok 

Test #4:

score: -100
Wrong Answer
time: 1ms
memory: 29672kb

input:

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

output:

1
0 25 3 
0 38 3 

result:

wrong answer Integer 1 violates the range [3, 40]