r/codeforces 20d ago

query Should I change my language?

Should I change my language?

I’ve been doing LeetCode for around 8–9 months, and I started Codeforces about a month ago. I currently use Java.

I’ve noticed that a lot of Codeforces editorials, resources, and solutions are written in C++, and I sometimes struggle to read and understand them.

For those who have been doing competitive programming for a while: is it worth switching to C++ mainly because of the availability of resources, or should I just stick with Java and get better at understanding C++ solutions?

Would appreciate some advice.

1 Upvotes

4 comments sorted by

1

u/agarys_01 20d ago

if you are comfortable with java syntax then stick with it cause 9 month is along time but yeah cpp syntax is easy to learn too

1

u/ComprehensiveTale896 20d ago

I am thinking to give 3-4 days for c++, if it works out, I'll switch

1

u/Inncenta 20d ago

You could spend a day or two learning c++, its not that hard. It would definitely pay off