Wrote the code using RMQ. Can anybody guess where did I go wrong??
- Link to my code : http://ideone.com/VfkQXQ
Wrote the code using RMQ. Can anybody guess where did I go wrong??
Kindly post your question on the respective editorials. It will get answered better there. Here’s the link to the editorial: http://discuss.codechef.com/questions/9722/mstick-editorial