Which language is best for competitive programming and why? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Which language is best for competitive programming and why?

I am a little bit confused as to which language should I opt for in competitive programming.

31st Oct 2020, 3:59 PM
prem mishra🇮🇳
2 Answers
+ 8
I suggest C++ bcoz it is faster and has STL.
31st Oct 2020, 4:01 PM
Alphin K Sajan
Alphin K Sajan - avatar
+ 1
prem mishra🇮🇳 I've seen text manipulation problems solved in one line of python code that would require a lot of work using other languages. Which language is actually best for competitive programming depends on the problem you're trying to solve and of course how well you know that language. If I were you I would stick to the language I know best unless the rules of the competition specifically disallow the use of that language.
31st Oct 2020, 11:25 PM
Macross-Plus
Macross-Plus - avatar