We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I solved the problem properly for all testcases, but it timed out for a single Testcase which took 13 secs on my machine. I am clueless about the kind of datastructure to select for this problem. But great problem to solve!
Jim and his LAN Party
You are viewing a single comment's thread. Return to all comments →
I solved the problem properly for all testcases, but it timed out for a single Testcase which took 13 secs on my machine. I am clueless about the kind of datastructure to select for this problem. But great problem to solve!