ayush_awasthi's blog

By ayush_awasthi, history, 9 years ago, In English

I was trying to solve this problem on spoj http://www.spoj.com/problems/BOBERT/ can anybody please help me . Finding 20! arrangements and then a range minimum query would cause TLE so i dont know how to exactly approach the solution? I am looking for an initial approach and not the full solution.

Full text and comments »

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