Skip to content

決算報告 (Financial Report)

Unrated
日本語

Language

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

Statement

問題文 1ページ

問題文 2ページ

問題文 3ページ

Examples

Sample input 1
7 1
100 600 600 200 300 500 500
Sample output 1
3
Sample input 2
6 6
100 500 200 400 600 300
Sample output 2
4
Sample input 3
11 2
1 4 4 2 2 4 9 5 7 0 3
Sample output 3
4

Notes

Tags

No tags yet

Source