Another problem

Revision en1, by yoshi_likes_e5, 2025-11-07 16:23:18

I just discovered a problem, https://qoj.ac/contest/1901/problem/8616, that the intended solution is https://codeforces.me/blog/entry/67001. Is there any sub $$$O(nq)$$$ solution for this problem?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English yoshi_likes_e5 2025-11-07 16:23:18 208 Initial revision (published)