Problem Link: https://www.spoj.com/problems/RACETIME/
My solution Link: https://ideone.com/lfWNVt
it will be very helpful if someone analysis the time complexity of my solution
or give me some idea to solve these kinds of problem problems with the segment tree.
My wrong submission: 161217970
Corner Case Which should be included in the pretest: Test_Case
For this test case, my code give me an answer like (002) which is wrong but it passed the system test?
There is a list consisting of lot of problems based on topics,but from today i can't access it
Does any one have offline version of this or any github link Blog link:https://codeforces.cc/blog/entry/55274