Need Help regarding TLE

Правка en1, от NGiveUp, 2021-12-15 23:03:58

Why i m getting TLE for this problem ??? and my solution is this. here preprocessing take O(n) and per query take constant time please help.

Теги math, number theory

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский NGiveUp 2021-12-15 23:03:58 279 Initial revision (published)