Here are all of the problems in HTML, plus judge data and sample solutions. This problem was the most solved problem in the 2014 North American Qualifier.