which language I should master at for contest programming?

I know C and C++.Is this enough for contest programming? Which language I should MASTER at especially for IOI? As there are a lot of new and different language like python,java etc…

See basically you need to know the algorithm. Algorithm are the thing that matter. Yes language too matter but as long as you know algorithm language does not matter so much.

As for best option, C++ has a very powerful STL which makes it a powerful language and python and java have bignum library hence overall C++ offers much more good libraries on the view of competion. But again I would say that learn algorithms language don’t matter
Best of luck.


This should help

after asking a lot people I found my answer.Iam sharing it cause it may help others.
most of guys say C++ is good and enough but I need to be mastered at more language. They prefer me JAVA and PYTHON .They show some matter for those language. like C++ have a huge and very helpful template library(STL) and java for unbounded number limit(BigIng) and python for easy to code and time saver(but python code have a bad runtime… )

So I will learn JAVA beside C++ for competitive programming… :slight_smile:

hope it helps…

Which thing of that??

1 Like

for IOI you should only learn C++. Bignums aren’t used in IOI problems


thanks for your information. It helps me a lot. So I dont need to learn JAVA so soon :slight_smile: