Skip to content

座席 3 (Seats 3)

Unrated
日本語

Language

Contribute a translation
Time limit
2000 ms
Memory limit
1024 MB
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

座席 3 (Seats 3):公式問題文 1ページ

座席 3 (Seats 3):公式問題文 2ページ

Examples

Sample input 1
2
20 60 40 30 10 50
Sample output 1
90
Sample input 2
1
1000000000 1000000000 1 1
Sample output 2
2000000000
Sample input 3
4
4 10 8 6 7 6 7 8 12 3
Sample output 3
16

Notes

Tags

No tags yet

Source