SPOJ DQUERY TLE

Правка en2, от rahulkhairwar, 2016-05-17 21:33:19

I was trying to learn Mo's Algorithm from here and this was one of the suggested problems. But, I'm getting TLE verdict with Java, while my code is very similar to the one that the tutorial's author has written, in C++.

Can someone please tell me what am I doing wrong(slow)? Thanks.

UPDATE : Sorry, forgot to post a link for my code

Теги spoj dquery, java 8, time limit error

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский rahulkhairwar 2016-05-17 21:33:19 96
en1 Английский rahulkhairwar 2016-05-17 21:29:30 411 Initial revision (published)