same algo but got TLE in java whereas got accepted in C++

Правка en1, от ronaldocr7, 2019-06-03 20:06:21

contest :-- https://mirror.codeforces.com/contest/1174 question 2nd link :-- https://mirror.codeforces.com/contest/1174/problem/B

I have the same logic like various other contestants have used but I got TLE on test case number 63 as i had used JAVA whereas others have used C++. this is a very disappointing for me and i am not getting the logic behind this. Everyone knows that JAVA is bit slow than C++ but this is not acceptable that u change your logic or thinking process on this fact My submitted cod is 55027519: please anyone explain me why this happened;

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ronaldocr7 2019-06-03 20:06:21 656 Initial revision (published)