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.
So if I understand it, that means that for all values of i from 1 to N inclusive, ai will be between 1 and 100,000 inclusive. It seems like that is not an actual constraint on i, which should be listed separately. Reading the constraints now it seems like there is no constraint on i, and if i were N+1 there would be no constraint on ai.
Sherlock and GCD
You are viewing a single comment's thread. Return to all comments →
So if I understand it, that means that for all values of i from 1 to N inclusive, ai will be between 1 and 100,000 inclusive. It seems like that is not an actual constraint on i, which should be listed separately. Reading the constraints now it seems like there is no constraint on i, and if i were N+1 there would be no constraint on ai.