sahudebankumar's blog

By sahudebankumar, history, 8 months ago, In English

The reason is simple, from past 3 contest I am getting TLE for some solution which were accepted in contest and the same concept go accepted in Kotlin and I am too much angry as My rank is really going down because of this.

  • Vote: I like it
  • -16
  • Vote: I do not like it

»
8 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I recommend learning C++ for competitive programming. It is the most common language used in contests because of its speed and efficiency, which helps you avoid TLE issues that often occur with Python unless you optimize heavily. Also, C++ has a much larger community support in competitive programming, and most editorial codes and accepted solutions are written in C++. Since it is close to the system, it gives more control and robustness. You can start learning C++ easily from YouTube tutorials.

  • »
    »
    8 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    I know cpp has most used language in the field but the problem is if they show TLE in contest then I would switch to Kotlin why after contest. My rank drop from 4000 to 9000 similarly in a div 4 contest also my rank from from 2000+ to 5000+

»
8 months ago, hide # |
 
Vote: I like it +4 Vote: I do not like it

I would recommend make your own template by adding new things that you learn, that would be better, otherwise here is my template: https://github.com/OmAmar106/Template-for-Competitive-Programming , it has a .json file within the Python folder, which you can directly put in your vs code, another alternative would be PyRival: https://github.com/cheran-senthil/PyRival, which is most used template for CP in Python