QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#622324#1808. Efficient Partitioningucup-team4645WA 1ms7792kbC++231000b2024-10-08 20:53:192024-10-08 20:53:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
1 -1
-1 4
1 -2

output:

1

result:

ok answer is '1'

Test #2:

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

input:

1
1000000000
1000000000
1000000000

output:

3000000000

result:

ok answer is '3000000000'

Test #3:

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

input:

11
-323225375 -897098227 -795978453 501188072 409939326 -362890219 969123048 962633819 252457646 694824070 -406990840
-696821643 -663750226 -570551722 670541392 172964990 399404695 -305728788 -157617655 -801518744 -328729631 -160335217
-465411342 -660775657 515997870 -34787742 628368976 84800619 -72...

output:

91174984

result:

ok answer is '91174984'

Test #4:

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

input:

2
12 3
-13 -1
-19 7

output:

9

result:

ok answer is '9'

Test #5:

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

input:

9
-13 -10 18 4 -9 8 -12 18 1
3 3 7 10 -16 -10 8 -7 -19
-20 15 -17 2 7 15 11 14 8

output:

16

result:

ok answer is '16'

Test #6:

score: -100
Wrong Answer
time: 1ms
memory: 7784kb

input:

10
-3 -20 -13 19 -12 2 -15 -9 -12 -15
8 20 8 19 9 -13 8 16 10 8
12 8 7 14 -1 -11 -7 -6 4 -7

output:

-1

result:

wrong answer expected '-14', found '-1'