Skip to content

熱中症 (Heat Stroke)

Unrated
日本語

Language

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

Statement

問題文 1ページ

問題文 2ページ

問題文 3ページ

問題文 4ページ

Examples

Sample input 1
3
1 1 1
3
1 2 2
Sample output 1
1
Sample input 2
6
1 1 1 1 1 1
7
1 3 5 4 2 2 3
Sample output 2
3
Sample input 3
6
4000 1 1 0 4000 1
5
1 1 2 3 5
Sample output 3
1
Sample input 4
5
1 2 2 2 1
8
2 3 2 1 4 1 2 3
Sample output 4
2
Sample input 5
10
2 2 2 2 2 2 2 2 2 2
18
1 3 5 7 9 2 4 6 8 1 3 5 7 9 2 4 6 8
Sample output 5
3

Notes

Tags

No tags yet

Source