I'm guilty of watching solutions in competitive programming. What should I do? When should I look for solutions?
For how long should I try a programming competition problem before looking up for other people's solutions?