QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#611286#5423. Perfect Matchingucup-team1259WA 285ms16756kbC++201.6kb2024-10-04 20:12:582024-10-04 20:12:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 5848kb

input:

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

output:

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

result:

ok 3 Cases (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 285ms
memory: 16756kb

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
5 6
26 27
30 31
57 58
33 32
49 48
55 54
61 60
64 63
82 81
94 92
106 104
112 110
124 122
142 141
145 143
163 161
166 164
175 173
196 194
202 201
211 209
241 240
256 254
277 276
289 287
301 299
319 318
325 323
337 336
343 342
355 354
367 366
376 374
391 390
409 408
448 447
451 449
454 453
49...

result:

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