How do I be continuously motivated for Competitive Programming? I can't even solve simple problems in this times long challenge.

Instead of searching motivation try to find out why you couldn't solve questions, you should first focus on finding a reason why you couldn't solve the questions.
Some of the reasons why you cannot perform better may be:
  • All the questions that were present in the coding competition were all from new topics that you have not yet studied.
  • You may not be able to focus on coding skills because you don't know what the value of writing programs is, as you have earned nothing from programming.
  • For all the questions you tried in the programming competition, you got TLE (time limit exceeded), runtime error or wrong answer (WA). This has frustrated you, you are reacting to this frustration, and you are looking for motivation.
  • You may be thinking that all of these high-level algorithms you are learning during the coding contest cannot be used in everyday life as a programmer. It is of no use in practical life.
  • Your desire is to become an entrepreneur or to join a startup where they want you to be good at a particular framework or technology and you are spending all the time practicing problems in data structure and algorithms. Because of this, you are in panic mode. You have lost all your patience. Now you want everything at a very fast pace.
  • Some of your friends really started doing competitive programming after you. They are performing very well in cp, but you may have difficulties up to this point with cp. Now you want to leave cp as you think it is not your cup of tea.
  • You are writing dirty code and you are struggling with how to debug your code quickly. You don't like to debug your code or your debugging skills are really poor. That is why you are looking for external motivation and trying to fix a headache with dengue medications.
Once you are able to find the issue due to which you were not able to solve a problem. You should try to fix that issue instead of looking for external motivation.
Some of the solutions I suggest here:
  • If you can't solve at least simple problems. Try to read about the concepts involved in all the questions and understand them well. Then try to solve all the questions you couldn't solve during the contest.
  • To avoid the time limit you exceeded the error. You should try to replace cin / cout with scanf / printf in c ++. For the most part, TLE occurs because the time complexity of your answer is more compared to what OJ (Online Judges) expects, so try to optimize your code.
  • If you continually receive an incorrect answer, please try to read the tutorial and implement it at that time with full understanding. Now go back to that question after a few days and try to reimplement the solution.
  • Think about what miracle will happen when you have knowledge of a high-level algorithm and in your company you are able to solve a problem very easily that nobody can solve by knowing only these algorithms in future. Because of this, you received a promotion or for which you will receive a word of thanks.
  • If you are really good with problem solving. So many great startups will be willing to hire you. Many startups believe that if you are good with problem solving then you could pick any framework / technology very quickly. Keep patience. Even many entrepreneurs have emerged from the field of competitive programmers.
  • There's no point in getting demotivated. Try to see competitive programming as a sport in which anyone could beat anyone on any given day.
  • You should get used to writing clean code. Otherwise debugging will be difficult. Debugging is a skill that is acquired as you practice in more and more competitions.
  • If you still want motivation, try to find some of the great competitive programmers who have joined some great companies like Google, Facebook etc. You will find many of those people who were able to join a reputable company and are making good amounts of money. This might inspire you.
  • Competitive programming will teach you a lot. Skills like debugging your code, How to optimize your code, you will have a better understanding of each topic and knowing different algorithms always helps.
Further reading:

Comments