QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#796115#5423. Perfect MatchingxyjWA 891ms33164kbC++111.9kb2024-12-01 12:12:042024-12-01 12:12:04

詳細信息

Test #1:

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

input:

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

output:

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

result:

ok 3 Cases (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 891ms
memory: 33164kb

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:

No
No
Yes
100000 99999
99998 99994
99993 99992
99988 99987
99986 99984
99979 99978
99977 99970
99953 99949
99946 99945
99944 99936
99934 99923
99922 99921
99920 99918
99898 99887
99877 99876
99875 99872
99868 99867
99866 99863
99859 99849
99846 99843
99832 99831
99830 99824
99809 99808
99807 99806
9...

result:

wrong answer std outputs a valid answer while participant doesn't (test case 1)