QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#163877#5500. Barsucup-team607#WA 288ms3996kbC++172.3kb2023-09-04 16:02:072023-09-04 16:02:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
4
5 2 2 6
5
1 5 4 4 1

output:

33
29

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 288ms
memory: 3996kb

input:

10000
4
5 2 2 6
5
1 5 4 4 1
197
763787596 15221694 898228999 187472305 466351873 822742732 437754202 800092772 843092246 915675776 166265020 346340615 796714085 497548541 182089610 64356048 363276768 181268733 257949015 236568898 752096761 928725929 443146784 114577469 833053207 38120723 14891030 41...

output:

33
29
379579641810
628489725924
527715094686
418924687875
294364306103
875760099157
632089012519
582864196570
224209780990
698449608288
466644027129
257334694966
550766716887
197982290422
336548832140
477185949660
596760760958
576510699107
408018096564
819104295559
973914300865
924537188631
26408806...

result:

wrong answer 3rd lines differ - expected: '382465638565', found: '379579641810'