QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#937160#8185. Emerging TreeNatsuhi Kage (Qiyu Feng, Jianing Liu, Zemu Zhu) #WA 4ms16112kbC++232.6kb2025-03-16 11:43:492025-03-16 11:43:49

詳細信息

Test #1:

score: 100
Accepted
time: 3ms
memory: 16080kb

input:

4
3 1
1 4
1 2

output:

Yes
2 4 1 3

result:

ok found a correct permutation

Test #2:

score: 0
Accepted
time: 4ms
memory: 16112kb

input:

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

output:

No

result:

ok desired permutation does not exist

Test #3:

score: 0
Accepted
time: 3ms
memory: 15944kb

input:

6
1 2
2 3
2 4
3 5
4 6

output:

No

result:

ok desired permutation does not exist

Test #4:

score: -100
Wrong Answer
time: 3ms
memory: 14060kb

input:

6
2 3
2 5
2 1
2 6
5 4

output:

Yes
1 3 4 6 5 2

result:

wrong answer invalid permutation