You are viewing a single comment's thread. Return to all comments →
testcase: 5 5 1 2 3 1 4 2 2 5 6 3 4 1 1 1 1 2 2 3 2 5 1 6
why output for 2-3 and 2-5 is 5 not 3? Am I missing something?
Seems like cookies are disabled on this browser, please enable them to open this website
Super Maximum Cost Queries
You are viewing a single comment's thread. Return to all comments →
testcase: 5 5 1 2 3 1 4 2 2 5 6 3 4 1 1 1 1 2 2 3 2 5 1 6
why output for 2-3 and 2-5 is 5 not 3? Am I missing something?