I have an issue regarding AUG 2018 cook off .2nd question of this contest says that 1<= pi <= 1000000000 for each valid i. It means it should hold true for each value of i, 1<= i <=n. I used same thing, but got WA in contest. When I didn’t use this, it got accepted but after contest. This is true for 1<= i <=n according to question statement. I don’t why It got WA.
The intention of setter was to convey that for given p_i in input, this constraint holds. Although I agree that same variable naming has caused this confusion and that the confusion is quite genuine, I dont think we can make contest unrated for it especially after ratings were updated. I will ask the @admin to direct more careful proof reading for future contests.
Apologies for not making the statement explicit. If your interpretation had been the one which we had intended, it would also have been part of the statement, and not just in the constraints. But we agree that this was somewhat ambiguous, and apologize for it. We will make sure that this is not repeated in the future.