Блог пользователя amanthakur9903957859

Автор amanthakur9903957859, история, 4 месяца назад, По-английски

Hello people of codeforces. I am starting competitive programming seriously from now onwards. I have been doing Data structures and Algorithms for sometime and have some command over that but i had not participated in any contest until yesterday. The one issue that I keep finding is, the c++ recommendation for CP everywhere. But I have been doing my coding in java from the beginning. That is why, I don't feel like switching, so I am going to continue in java and will see how far I can go and when it will be obvious for me that I can't get further, I will make a switch.

By doing this I will understand the language more deeply and the advantages and the limitations of java. This will be a good excercise for me to understand languages in general more deeply also. Thank you.

If this is a bad way to move ahead please let me know...

  • Проголосовать: нравится
  • -16
  • Проголосовать: не нравится

»
4 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

If you want to use java — why not kotlin then?

»
4 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by amanthakur9903957859 (previous revision, new revision, compare).

»
4 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

i also do cp in java and i also had same questions and doubt but for motivation you can follow secondthread on codeforces, he reached 2600+ only by doing java, you will face memory issues sometimes in div2E due to java object manupulation and its garbage collections but you can always convert your code to primitive data types like arraylist to array to reduce the dependency of garbage collector and always use static method everywhere so it will not depend on main thread !!! hope this helps buddy

»
4 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

C++ code is generally faster and shorter compared to other languages, so in my advice, you should immediately switch to c++. Before CP, I coded in python but after begin in the CP space, for 3 months, I realised that switching to c++ is the best choice!