SRM 714, D2, 250-Pointer (RangeEncoding)

James S. Plank

Wed May 10 01:06:48 EDT 2017
As the numbers above show, this was one of the easiest Topcoder problems ever. I'm not going to give code here -- this is for you to figure out. My one hint is that my for loop was:
  for (i = 1; i < arr.size(); i++) ...