Skip to content

川下り (River Rafting)

Unrated
日本語

Language

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

Statement

川下り (River Rafting):公式問題文 1ページ

川下り (River Rafting):公式問題文 2ページ

川下り (River Rafting):公式問題文 3ページ

Examples

Sample input 1
5
1 2 2 4
10 4 8 9 5
Sample output 1
9
Sample input 2
9
1 1 1 2 5 5 5 3
100 70 80 90 60 30 40 50 30
Sample output 2
90

Notes

Tags

No tags yet

Source