You can hedge against that by trying your best to solve the problem once before reading the solution.