QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#504955#1652. One PieceHuangHanShengWA 2ms13780kbC++203.6kb2024-08-04 17:50:172024-08-04 17:50:17

詳細信息

Test #1:

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

input:

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

output:

3 4 5 1 2 

result:

ok single line: '3 4 5 1 2 '

Test #2:

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

input:

4
2 1
3 2
3 4
1 0 1 2

output:

2 1 3 4 

result:

ok single line: '2 1 3 4 '

Test #3:

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

input:

1
0

output:

1 

result:

ok single line: '1 '

Test #4:

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

input:

2
1 2
0 1

output:

1 2 

result:

ok single line: '1 2 '

Test #5:

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

input:

3
2 3
1 2
2 1 1

output:

2 3 1 

result:

ok single line: '2 3 1 '

Test #6:

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

input:

4
3 2
1 4
3 1
1 3 2 1

output:

1 4 2 3 

result:

ok single line: '1 4 2 3 '

Test #7:

score: -100
Wrong Answer
time: 0ms
memory: 9696kb

input:

4
4 3
4 2
1 2
3 2 2 1

output:

2 3 1 4 

result:

wrong answer 1st lines differ - expected: '2 3 4 1', found: '2 3 1 4 '