QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#942601#4215. Easiest SumFarmer_D WA 29ms48908kbC++142.9kb2025-03-19 10:59:042025-03-19 10:59:05

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
1 -1 2 -2 3
3

output:

5

result:

ok 1 number(s): "5"

Test #2:

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

input:

3
-3 -5 -35
1

output:

998244349

result:

ok 1 number(s): "998244349"

Test #3:

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

input:

100
-7808082 96278545 91136346 4791987 -36451577 -33596739 -69450010 84481462 -99529162 60949239 72542771 72088996 -35443418 -76531992 -50718219 86231655 -35308791 63500706 82650944 -65252845 13066652 70626553 -54199452 97362467 98696377 36238594 -44542388 -3792147 -2820241 -59459156 -30170137 -4471...

output:

778259516

result:

ok 1 number(s): "778259516"

Test #4:

score: 0
Accepted
time: 11ms
memory: 47476kb

input:

100
43470556 -24635074 29849478 53805691 50607125 -95279733 -7253302 -20078918 2774026 39635460 -52937315 14031619 57028453 65837691 53336763 -14666701 -76024013 -27356769 -87953322 -14621311 98545153 92215405 -68571128 69249573 28558097 -9801652 76030121 -20009034 44053000 74245196 72242953 -627014...

output:

532023532

result:

ok 1 number(s): "532023532"

Test #5:

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

input:

100
-60699225 15381545 2478423 -85840694 -34004120 65663345 -83222264 -88829667 -46161106 78614233 -25290571 -52896583 36957747 56700727 -99374636 -34577834 72202392 -43828613 -20014088 9415279 -56063513 4449046 -23727515 58654170 -80213673 42179357 82019014 -62771120 -80773097 -94504334 -60175820 -...

output:

24346343

result:

ok 1 number(s): "24346343"

Test #6:

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

input:

100
97264577 63116640 79109399 -32005001 -92309006 -2841510 19916133 47951028 -40568967 50214181 58286869 -91979532 -56200937 59982617 14130982 42779257 90773614 -71070588 -75091128 -89311130 59034137 -51418829 -64730204 -81154552 -27561185 -96075158 29343102 35910977 -16100694 73575465 24306677 -47...

output:

727123985

result:

ok 1 number(s): "727123985"

Test #7:

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

input:

100000
16811197 62688349 -98275286 -7582034 79896950 -1642564 84689457 64693647 -63232017 -40825537 65390242 -12619671 -9200709 -36492366 -77540708 45600846 -80383137 61538003 -10446321 -90984592 -12579326 72249861 -80572442 -64503974 -43240144 -1204125 33825946 -78451969 -90483562 -69824917 -952619...

output:

362807113

result:

wrong answer 1st numbers differ - expected: '852362329', found: '362807113'