QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#224986#1652. One PiececonzloiWA 4ms19516kbC++201.5kb2023-10-23 19:51:102023-10-23 19:51:10

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 18036kb

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: 19516kb

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: 4ms
memory: 17820kb

input:

1
0

output:

1

result:

ok single line: '1'

Test #4:

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

input:

2
1 2
0 1

output:

1 2

result:

ok single line: '1 2'

Test #5:

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

input:

3
2 3
1 2
2 1 1

output:

2 3 1

result:

ok single line: '2 3 1'

Test #6:

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

input:

4
3 2
1 4
3 1
1 3 2 1

output:

1 4 3 2

result:

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