建設事業 (Construction Project)
Unrated
日本語
Language
Contribute a translation- Time limit
- 5000 ms
- Memory limit
- 256 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
4 2 3 1 1 10 1 1 10 10 10 4 0 8 9 1 4 9 8 7 4 10 3 1 1
Sample output 1
28 38 -1
Notes
Tags
No tags yet