QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#426780#8746. 排列游戏T0m66#WA 2452ms9404kbC++231.2kb2024-05-31 21:05:272024-05-31 21:05:29

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2442ms
memory: 9400kb

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: 2452ms
memory: 9404kb

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: -100
Wrong Answer
time: 2443ms
memory: 9368kb

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:

wrong answer 246th lines differ - expected: '228907843', found: '0'