Đại lý


Submit solution

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

Problem type

Ví dụ

Ví dụ 1

input

5 2
1 3 8 12 15
1 3 10 0
2 4 5 1

output

70

Comments

There are no comments at the moment.