QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#796134#5423. Perfect MatchingxyjWA 460ms23104kbC++111.9kb2024-12-01 12:52:252024-12-01 12:52:27

詳細信息

Test #1:

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

input:

3
6
14 22 33 11 25 36
4
100 10 98 12
4
1 3 5 7

output:

Yes
3 6
2 5
4 1
Yes
2 4
3 1
No

result:

ok 3 Cases (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 460ms
memory: 23104kb

input:

10
100000
0 -1 -2 -3 -4 -5 -2 -7 -8 -9 -10 -9 -12 13 14 15 -16 -17 -18 19 20 19 -22 -21 -20 -25 -26 -27 -28 -27 -26 31 30 29 -34 -35 -34 39 38 37 42 41 42 47 44 45 46 49 48 -53 -52 -51 -56 -55 -54 55 56 57 -58 -59 -60 61 62 63 64 65 64 67 66 69 70 73 72 73 74 73 76 75 74 79 80 81 -84 -83 -84 89 86 8...

output:

Yes
100000 99999
99998 99991
99990 99989
99988 99987
99976 99975
99973 99972
99971 99970
99969 99967
99965 99964
99963 99961
99959 99958
99956 99955
99953 99949
99948 99945
99944 99943
99942 99941
99933 99932
99922 99918
99917 99914
99912 99911
99904 99903
99901 99900
99899 99897
99881 99880
99879 9...

result:

wrong answer abs(99997-99996) != abs(a[99997]-a[99996]) (test case 2)