Java 8 TLE with BufferedReader and not using Sort
Разница между en1 и en2, 71 символ(ов) изменены
I am getting TLE for a simple java program for reason I can't find.↵
I read past blogs and found that using Scanner and sorting primitive type arrays is the general reason, but my program isn't in any of those category. ↵

My submission: https://codeforces.com/contest/1206/submission/61017893 


EDIT: Using the PrintWriter instead of System.out.printf() worked. 

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский rajpm 2019-09-21 18:03:25 71
en1 Английский rajpm 2019-09-21 17:09:31 344 Initial revision (published)