3 odpowiedzi
+ 3
Although main focus in cp would be on the algorithm that you choose to solve the problem, using C++ sometimes makes it possible to crack some problems with relatively less efficient algorithm because of it's speed.
That being said, all the problems are designed in such a way that it should be possible to solve them in the given amount of time in any language that they allow. Some competitions also provide a longer time limit for slower languages like python.
So i think you will rarely encounter a place where your choice of language will bottleneck your performance in cp.
+ 2
I think you should learn c++ for cp major reason is stl it has some prebuild data structures which saves your time on contest time.
And also I seee almost 70 to 80 percent of people do coding in c++ so there will be better community for c++.
And lot of site which have very good info for cp uses c++ for example codes.
So I think you should learn c++ for cp if you can
+ 1
As I guess you should continue to learn Python as you have a plenty of other courses unfinished.
So keep learning Python and after that you can learn C++ more easily.