+ 4
which language should I use for competitive programming? Is it ok if I use python?
I am a beginner and want to go for competitive programming but not clear about which language to choose.
7 Answers
+ 6
I would recommend learning C++ for competitive due to same reasons written by Arsenic, python is good when too large numbers are involved but in most contests constraints are made to not give any unfair advantage by language.
Also, it is easier to get C++ solutions as most of competitive programmers are using C++ only(probably around 80%).
+ 2
Python is generally not recommended for competitive programming as it is way slower as compared to C++ and java.
C++ is by far the the most popular language of choice for competitive programmers across the world because of its speed and powerful standard template library
+ 2
Gaëtan Grond that's not always the case. My first language was C++ and did not found any difficulty in learning it.
+ 2
It varies from person to person.
You should try any of these and after trying for few days.
Select one in which you are comfortable.
+ 1
The languages you can use for competitive programming are Java, C++.