QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#644072#1808. Efficient PartitioningCyber_PunkWA 3ms10384kbC++141.6kb2024-10-16 10:39:502024-10-16 10:39:51

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 8780kb

input:

2
1 -1
-1 4
1 -2

output:

1

result:

ok answer is '1'

Test #2:

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

input:

1
1000000000
1000000000
1000000000

output:

3000000000

result:

ok answer is '3000000000'

Test #3:

score: 0
Accepted
time: 3ms
memory: 10308kb

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: 0ms
memory: 8640kb

input:

2
12 3
-13 -1
-19 7

output:

9

result:

ok answer is '9'

Test #5:

score: -100
Wrong Answer
time: 3ms
memory: 10192kb

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:

20

result:

wrong answer expected '16', found '20'