QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#259242#5423. Perfect Matchingucup-team2321WA 374ms38188kbC++203.0kb2023-11-20 19:18:362023-11-20 19:18:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

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

result:

ok 3 Cases (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 374ms
memory: 38188kb

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
25 7
31 34
79 100
124 130
139 202
205 226
244 289
292 310
316 322
337 364
373 379
382 391
397 418
436 451
460 463
481 511
517 520
526 556
568 586
619 658
661 667
736 754
763 772
790 808
823 826
853 874
904 925
934 964
970 979
988 1003
1009 1027
1030 1048
1078 1090
1105 1162
1171 1216
1219 1228
1...

result:

wrong answer abs(31-34) != abs(a[31]-a[34]) (test case 1)