ThiagoMM's blog

By ThiagoMM, history, 6 years ago, In English

I would like to know how to solve CodeChef — Chef and Graph Queries online. I've solved this problem using an offline method.

My solution using MO's Algorithm: https://www.codechef.com/viewsolution/18109768

  • Vote: I like it
  • +9
  • Vote: I do not like it

»
6 years ago, # |
  Vote: I like it +1 Vote: I do not like it

It appears that qiancl has written an online solution to this problem.