QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#430383#8746. 排列游戏ucup-team3569#WA 2083ms21208kbC++141.5kb2024-06-03 19:27:112024-06-03 19:27:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 7ms
memory: 21076kb

input:

6
2 1
3 1
5 2
7 5
10 20
15 24

output:

1
2
7
331
1570446
73880648

result:

ok 6 lines

Test #2:

score: 0
Accepted
time: 7ms
memory: 21124kb

input:

990
19 16
20 74
15 32
21 22
14 22
13 36
16 58
14 4
19 44
14 46
21 110
22 86
19 32
16 22
19 17
12 28
20 25
20 59
22 65
21 52
13 32
18 48
14 35
19 37
19 23
21 21
22 90
22 72
21 101
17 20
18 46
21 3
7 12
12 36
16 49
14 15
13 17
20 42
13 42
13 11
22 47
15 22
22 32
19 39
19 65
21 98
19 3
16 24
18 6
22 63...

output:

393168729
246435507
711223131
161825104
979987145
971749586
25952856
2012
726099192
449177299
36423651
633817565
948448065
655086320
599308309
200783520
73244890
494204020
502991859
971176215
490633490
493983396
970265909
703034171
617628639
906119212
329471797
918718406
613644638
276565385
62885054...

result:

ok 990 lines

Test #3:

score: 0
Accepted
time: 252ms
memory: 21128kb

input:

1000
359 358
370 368
428 429
315 312
405 402
455 453
387 384
385 385
339 340
478 475
439 439
301 302
325 322
457 457
394 393
326 324
431 428
338 336
377 376
324 322
412 413
430 430
317 318
361 361
382 381
498 495
353 351
360 361
426 427
455 452
383 382
470 470
332 331
467 466
494 494
490 487
362 362...

output:

45924051
164071423
548365783
659118999
838332377
635378530
846181906
441908095
40677633
401855064
269095899
404527990
415178598
151295576
196186312
881879915
764063734
328303695
316320167
305189158
752842487
128059020
807509283
679892319
891105784
174676386
511431817
725918523
632585428
122380016
38...

result:

ok 1000 lines

Test #4:

score: -100
Wrong Answer
time: 2083ms
memory: 21208kb

input:

1000
414 5000
403 5000
492 5000
426 4997
422 4999
487 4992
433 4992
458 229
463 231
485 4997
445 4995
428 4999
452 4997
500 4994
484 4994
478 4997
451 225
481 4997
409 4993
416 4994
434 4995
485 4995
488 4994
479 4993
415 4996
457 4998
455 5000
484 4997
495 5000
461 5000
440 4994
467 233
478 4992
49...

output:

486733522
14679321
984277003
76973344
608727785
407668909
347210211
241211680
602743962
199054653
440943050
800324703
570127354
222186316
962040573
98887651
967372707
739902452
590331950
740654825
796760056
390794791
976338920
451804803
726129263
864819678
477397628
654257137
731747478
494606926
984...

result:

wrong answer 1st lines differ - expected: '898775462', found: '486733522'