QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#254171#7561. Digit DPucup-team254#WA 107ms3824kbC++204.2kb2023-11-18 03:08:532023-11-18 03:08:53

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3 3
1 2 4
2 000 111
1 010 101 1
2 000 111

output:

1960
3040

result:

ok 2 number(s): "1960 3040"

Test #2:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

2 2
1 1
2 00 10
2 00 11

output:

0
2

result:

ok 2 number(s): "0 2"

Test #3:

score: -100
Wrong Answer
time: 107ms
memory: 3816kb

input:

99 49952
470888 74578 802746 396295 386884 721198 628655 722503 207868 647942 87506 792718 761498 917727 843338 908043 952768 268783 375312 414369 319712 96230 277106 168102 263554 936674 246545 667941 198849 268921 191459 436316 134606 802932 515506 837311 465964 394766 17626 650419 984050 790137 4...

output:

509330920
197361546
696588424
122847565
235587591
196275281
875828115
282395128
657118591
601238285
452808540
264487820
169409852
38078976
38100598
430991417
122226777
822150407
203408803
991937219
519258902
696330586
862933500
541603628
942700294
458092685
350565085
541603628
21411682
174343376
239...

result:

wrong answer 1st numbers differ - expected: '413449847', found: '509330920'