129 人解决,160 人已尝试。
204 份提交通过,共有 600 份提交。
3.1 EMB 奖励。
单点时限: 2.0 sec
内存限制: 256 MB
You are given a sequence of
The input consists of several test cases. Each test case starts with a line containing two integers
The last test case is followed by a line containing a single
For each query, print one line with one integer: The number of occurrences of the most frequent value within the given range.
10 3 -1 -1 1 1 1 1 3 10 10 10 2 3 1 10 5 10 0
1 4 3
129 人解决,160 人已尝试。
204 份提交通过,共有 600 份提交。
3.1 EMB 奖励。