Need Help in a problem on SPOJ.

Правка en1, от ayush_awasthi, 2015-06-04 23:17:58

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.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ayush_awasthi 2015-06-04 23:17:58 329 Initial revision (published)