Answer the question
In order to leave comments, you need to log in
What programming language is suitable for olympiads?
Hello. Soon I have an Olympiad in programming.
There was an opportunity and desire to learn a new language and write an Olympiad in it.
Question. Which to choose? C++, Java or Python?
Please, when answering, take into account that there are 8 days left before the Olympiad and I am already familiar with a lot of algorithms necessary for writing tasks
PS Briefly familiar with java, python. Now in my thoughts to continue learning java, although with a reasoned answer in favor of another language, I will start learning it.
Answer the question
In order to leave comments, you need to log in
I would choose Python, it will be easier to write algorithms for Olympiad problems in it than in C ++ and Java. Moreover, dynamic typing (Python) is better suited than static. Also, it is easier to learn than Java, and even more so C ++, which you are unlikely to learn at a sufficient level in 8 days, so Python will be the best choice.
Python. This is usually a cheat - it saves a lot of time when solving any problems, with its good knowledge and knowledge of the desired algorithm, some problems will be solved import решение
.
But C++ can help you meet performance-memory requirements if you don't even know the optimal algorithm.
Java is the best choice for olympiads. In second place is C ++, but only if you already know it well (much better than Java). I heard such a recommendation from Andrey Stankevich, and he understands something in this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question