QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#796125#5423. Perfect MatchingxyjWA 1264ms41732kbC++112.3kb2024-12-01 12:24:372024-12-01 12:24:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 18700kb

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: 1264ms
memory: 41732kb

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
99987 99975
99973 99972
99971 99969
99967 99964
99961 99956
99953 99948
99944 99943
99942 99941
99932 99918
99911 99903
99901 99900
99899 99879
99877 99868
99867 99866
99862 99861
99860 99856
99838 99834
99824 99818
99817 99816
99815 99801
99799 99798
99797 9...

result:

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