QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#25863#2541. Coins and BoxeslarryzhongWA 29ms4988kbC++14880b2022-04-04 23:10:152022-04-29 02:21:03

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 3856kb

input:

4
1 6 7 12
3 5 10 11

output:

21

result:

ok answer is '21'

Test #2:

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

input:

2
1 2
1 1000000000

output:

1999999998

result:

ok answer is '1999999998'

Test #3:

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

input:

100000
967 3246 9492 10300 15195 16650 26911 54855 83695 112841 125511 137160 153051 155859 177924 187843 214838 219388 247276 249612 250188 253873 257830 261805 281312 297030 298332 325904 333218 339683 374111 387794 396645 403705 426710 436137 463368 481801 501933 509267 511332 515225 515629 51686...

output:

1722240547

result:

ok answer is '1722240547'

Test #4:

score: -100
Wrong Answer
time: 29ms
memory: 4988kb

input:

99999
21462 34020 34146 53248 90164 92224 98994 104980 115343 128362 134989 136436 149380 154685 181264 182990 205001 209721 213620 233438 238959 247963 248072 250838 259705 264873 265121 298034 298867 304937 325609 325758 334451 341321 363426 374659 396164 414311 424279 445253 454970 482336 505116 ...

output:

1997368440

result:

wrong answer expected '1469284712', found '1997368440'