QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#875469#8621. KnapsackqiuzxWA 1387ms268068kbC++201.5kb2025-01-29 20:35:062025-01-29 20:35:10

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6
4 3 8 1 5 4

output:

ABC.BA

result:

ok OK

Test #2:

score: -100
Wrong Answer
time: 1387ms
memory: 268068kb

input:

10000
997167959139 344481199252 880336470888 152634074578 801642802746 425740396295 408773386884 376579721198 658396628655 317503722503 880971207868 745202647942 998002087506 434268792718 388046761498 176443917727 968016843338 733125908043 536691952768 578717268783 515787375312 454150414369 93569331...

output:

2000000000000
2000000000000
2000000000000
.....................................................................................................................................................................................................................................................................

result:

wrong answer Line [name=s] equals to "2000000000000", doesn't correspond to pattern "[.ABC]{1,10000}"