PROBLEM LINKS:
DIFFICULTY:
Medium
PREREQUISITES:
Sqrt Decomposition, Binary Search
SOLUTION:`
http://www.ioi2011.or.th/hsc/tasks/solutions/elephants.pdf
EDITORIALIST’S SOLUTION:
Can be found here.
Medium
Sqrt Decomposition, Binary Search
http://www.ioi2011.or.th/hsc/tasks/solutions/elephants.pdf
Can be found here.