たのしいたのしい家庭菜園 (Growing Vegetables is Fun 2)
Unrated
日本語
Language
Contribute a translation- Time limit
- 1000 ms
- Memory limit
- 256 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
7 22 60 30 46 40 30 36 100 50 11 140 120 38 120 20 24 90 60 53 50 20
Sample output 1
320
Sample input 2
5 18 150 180 18 380 250 18 140 170 17 180 900 14 150 520
Sample output 2
1000
Sample input 3
8 52 156 59 15 166 185 16 122 115 24 161 154 44 252 678 32 225 557 44 155 254 59 57 253
Sample output 3
854
Notes
Tags
No tags yet