Check the difficulty of problems

POJ - 2151