Problem 9: Special Pythagorean Triplet

Link: http://projecteuler.net/problem=9

Explanation: As a+b+c = 1000 and a<b<c, (a+b) must be near to 500 and
greater than 500. For that to happen, a<500 and b<500.