QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#511527#6838. Assumption is All You NeedHuangHanShengWA 0ms11756kbC++23805b2024-08-09 23:53:092024-08-09 23:53:09

详细

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 11756kb

input:

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

output:

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

result:

wrong answer 4-th operation a[x]=5, a[y]=6 not valid: (a[x] > a[y]) == false