TLE in java in Coderforces Round 627 D
Разница между en1 и en2, 28 символ(ов) изменены
My program is running in O(n) time (I hope so) but it is showing TLE in java. Can anyone please tell me what am I doing wrong here. I have used fast input with both BufferedWriter and PrintWriter  but it is still showing tle. I know there is no problem with my logic because the same logic is accepted in C++. So can someone please tell me what is wrong with my java code.↵

Solution:↵
Java: [submission:82284306]↵
CPP: [submission:82285437]


Problem: [problem:1324D]

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский __goku__ 2020-06-02 11:40:48 133
en2 Английский __goku__ 2020-06-02 11:34:42 28 Tiny change: ':82285437]' -> ':82285437]\n\nProblem: [problem:1324D]'
en1 Английский __goku__ 2020-06-02 11:27:19 480 Initial revision (published)