Skip to content

ナイルドットコム (Nile.Com)

Unrated
日本語

Language

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

Statement

ナイルドットコム (Nile.Com):公式日本語問題文 1ページ

ナイルドットコム (Nile.Com):公式日本語問題文 2ページ

Examples

Sample input 1
4 5 50 30 80 70 50 30 50 40 50 50 60 50 30 90 40 50 70 30 70 80
Sample output 1
152
Sample input 2
4 5 110 160 80 200 150 170 80 120 80 150 160 160 160 110 200 110 150 190 160 190
Sample output 2
481

Notes

Tags

No tags yet

Source