As a competitive programmer you face a lot of problems ,ones you can solve And ones you can't , so most of us will feel frustrated sometimes because he can't solve the problem ,but he will never Give up of course , so share with us what do you do when have this feeling :)
I generally solve some easier problems then to gain my confidence :)
Skating with girls in the park.
And then back to work!
couldn't resist
But seriously, do you mean during a contest or when training?