Fast printing in Java

Revision en1, by Vrutik_2809, 2022-08-06 20:53:05

I was solving this problem. Although my solution is correct, i got TLE due to Java. My solution can be found here. But when i submitted the same solution in C++, it got accepted.

Can someone please help me out with how i can improve printing time in Java?

Tags java, tle

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Vrutik_2809 2022-08-06 20:53:05 388 Initial revision (published)