QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#875394#7861. Inverse Topological Sortucup-team1494#WA 1ms5680kbC++204.3kb2025-01-29 17:36:482025-01-29 17:36:53

详细

Test #1:

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

input:

3
1 2 3
1 2 3

output:

Yes
2
1 2
2 3

result:

ok n=3

Test #2:

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

input:

3
1 2 3
3 2 1

output:

Yes
0

result:

ok n=3

Test #3:

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

input:

3
3 2 1
1 2 3

output:

No

result:

ok n=3

Test #4:

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

input:

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

output:

No

result:

wrong answer Jury has the answer but participant has not