Chuyến xe cuối ngày

View as PDF

Submit solution


Points: 100.00 (partial)
Time limit: 2.0s
Memory limit: 256M
Input: stdin
Output: stdout

Problem source:
Đề luyện tập OLP Không chuyên — IUH — Bảng A
Problem type
Allowed languages
C, C++, Java, Pascal, Python

In case the statement didn't load correctly, you can download the statement here: Statement

Ví dụ

Input
5 2
-9 -2 3 4 10
Output
34

Loading...