QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#130703#2296. Exchange Studentslmq26052003WA 22ms104924kbC++176.9kb2023-07-24 20:13:092023-07-24 20:13:10

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 22ms
memory: 104924kb

input:

1
279122803
279122803

output:

0

result:

ok good

Test #2:

score: 0
Accepted
time: 16ms
memory: 104492kb

input:

2
212545283 896408766
212545283 896408766

output:

0

result:

ok good

Test #3:

score: 0
Accepted
time: 16ms
memory: 104920kb

input:

4
3 1 2 4
4 2 1 3

output:

2
3 2
4 1

result:

ok good

Test #4:

score: 0
Accepted
time: 8ms
memory: 103520kb

input:

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

output:

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

result:

ok good

Test #5:

score: 0
Accepted
time: 18ms
memory: 104440kb

input:

2
2 1
1 2

output:

1
1 2

result:

ok good

Test #6:

score: 0
Accepted
time: 21ms
memory: 103628kb

input:

4
3 2 2 1
2 1 2 3

output:

4
3 4
2 3
1 3
3 4

result:

ok good

Test #7:

score: -100
Wrong Answer
time: 11ms
memory: 103568kb

input:

9
708443928 333343028 130113530 997808421 299459189 845949632 647591888 681805948 468112900
299459189 997808421 130113530 845949632 647591888 681805948 468112900 708443928 333343028

output:

13
4 5
2 4
1 2
5 4
6 5
7 6
8 7
9 8
7 8
5 6
6 8
4 2
5 4
6 5
8 6

result:

wrong answer Swaps did not result in the right permutation