[UVA] 11235 - Frequent values
2007/2008 ACM International Collegiate Programming Contest University of Ulm Local Contest Problem F: Frequent valuesYou are given a sequence of n integersa1 , a2 , ... , anin non-decreasing order. In addition to that, you are given severalqueriesconsisting of indices i and j (1...