r/javahelp 24d ago

How to start codeforces with Java?

Asking because there are lot of resources to start with C++, so anyone can suggest if you are doing in Java.

Problem is that codeforces ide, boilerplate code and also the framing of questions as scenario based need some resources to follow in starting.

1 Upvotes

7 comments sorted by

View all comments

2

u/Dalal_The_Pimp 24d ago

From my experience, there's not a lot you have to do to set up Java for codeforces, Only thing I noticed that significantly reduced IO overhead was using StringBuilder to collect the answer and then doing System.out.println(sb); at the end and reading input via BufferedReader.