Skip to content

コアラ (Koala)

Unrated
日本語

Language

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

Statement

コアラ (Koala):公式日本語問題文 1ページ

コアラ (Koala):公式日本語問題文 2ページ

コアラ (Koala):公式日本語問題文 3ページ

Examples

Sample input 1
0 10 4 10 2
3 10
8 5
Sample output 1
-20
Sample input 2
3 42 9 10 8
10 5
12 9
26 7
27 2
30 8
34 6
36 8
40 10
Sample output 2
-25

Notes

Tags

No tags yet

Source