KSET


Submit solution

Points: 1
Time limit: 1.0s
Memory limit: 1G

Problem type

Ví dụ

Ví dụ 1

input

7 3
1 2 6 -3 4 -3 2
1 4 -2

output

32

Comments

There are no comments at the moment.