QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#157285#5549. Game Showntu_vjudge_1WA 72ms9992kbC++171.2kb2023-09-02 15:10:112023-09-02 15:10:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 5740kb

input:

4 4
2 3 -4 3
1 2 7 -1
1 3
3 1
1 4
1 1

output:

5
-1
-1
0

result:

ok 4 lines

Test #2:

score: 0
Accepted
time: 2ms
memory: 7772kb

input:

4 3
1 2 -3 4
4 -3 2 1
1 1
2 4
3 1

output:

flawed
flawed
flawed

result:

ok 3 lines

Test #3:

score: 0
Accepted
time: 2ms
memory: 5724kb

input:

6 2
-6 8 -3 5 -9 4
9 -2 8 -4 12 -1
2 6
3 3

output:

flawed
flawed

result:

ok 2 lines

Test #4:

score: 0
Accepted
time: 2ms
memory: 5780kb

input:

3 1
1 2 3
2 3 1
3 3

output:

0

result:

ok single line: '0'

Test #5:

score: 0
Accepted
time: 1ms
memory: 7840kb

input:

119 14161
-471334480 -303286501 -823503521 204458352 428751472 -685555801 -315724979 454499825 326635838 274924560 623877126 -41230889 829726183 -901302108 -414222870 430105197 -163781582 -654097302 -785578511 634678229 -53714045 466578268 -156361557 31276696 778119895 744605022 -686693025 368251457...

output:

flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed...

result:

ok 14161 lines

Test #6:

score: 0
Accepted
time: 9ms
memory: 7788kb

input:

310 96100
995988008 -273572056 647506325 206645991 -449149473 -743958256 -263018073 522873394 -995870737 391893724 -602177324 912246319 -671361368 -339118861 787545510 276780215 150123420 -438281015 -486464371 -526419934 457117467 -340697687 -193705644 583522844 -862239080 -783668951 886284879 -2153...

output:

0
995988008
722415952
1369922277
1576568268
1127418795
383460539
120442466
643315860
-352554877
39338847
-562838477
349407842
-321953526
-661072387
126473123
403253338
553376758
115095743
-371368628
-897788562
-440671095
-781368782
-975074426
-391551582
-1253790662
-2037459613
-1151174734
-136653686...

result:

ok 96100 lines

Test #7:

score: 0
Accepted
time: 4ms
memory: 5808kb

input:

159 25281
571110069 497946045 215248224 285606755 -114253939 796175515 -214494926 -691740300 -694515306 425784607 -884181443 -417222365 -923910646 913088205 334337646 928400844 604137042 -251172024 -292361941 -243464366 315724262 -281093691 800734894 966549738 -939146974 -612753418 946191607 -701002...

output:

flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed...

result:

ok 25281 lines

Test #8:

score: 0
Accepted
time: 15ms
memory: 7728kb

input:

386 148996
-629374153 -930021329 -169749492 77888804 39969974 891272130 -96385962 -76492169 599659860 -779504873 921044785 937376141 597906327 -96821407 631221939 609871141 363156207 -866807335 -188422318 -528059242 964816522 314282210 -604961795 514941685 56630262 -956662135 343379714 218344584 -59...

output:

0
-629374153
-1559395482
-1729144974
-1651256170
-1611286196
-720014066
-816400028
-892892197
-293232337
-1072737210
-151692425
785683716
1383590043
1286768636
1917990575
2527861716
2891017923
2024210588
1835788270
1307729028
2272545550
2586827760
1981865965
2496807650
2553437912
1596775777
19401554...

result:

ok 148996 lines

Test #9:

score: 0
Accepted
time: 40ms
memory: 9868kb

input:

200000 200000
542641702 524593830 -670388831 -945604405 -364992596 191170051 -26787814 66913368 -262048292 -713493534 737457155 149980656 479874963 409329298 936423541 -409385368 410613548 -268647340 -209178559 -538810729 -311979646 896593511 -414858308 -508018786 166275960 712369177 113795469 81304...

output:

flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed
flawed...

result:

ok 200000 lines

Test #10:

score: -100
Wrong Answer
time: 72ms
memory: 9992kb

input:

200000 200000
-859117315 241669988 515635146 -974661709 -565625054 -798417276 -544902983 -211538953 -243302276 336115744 -956543301 662011337 -791751745 318028077 -996636934 872505404 420483514 -375259846 126912462 494420432 523114793 -293956991 -989076221 387126868 -304945172 -581498983 -830472298 ...

output:

47808287900871
-170241423811516
32362155730212
-158102438867602
-190428830115826
-164930259285773
-152376548001262
31881356679451
-171101422823777
43117279570572
45329215695309
26767160594074
-185800434750455
42966287822548
-195754246879493
40620816078206
-163562428445557
-178930537784631
-158971916...

result:

wrong answer 1st lines differ - expected: '253349035948', found: '47808287900871'