Invalid constraint in https://www.codechef.com/AUG19B/problems/KS1

It looks to me that KS1 problem statement incorrectly specifies Ai constraint as

1≤Ai≤10^6 for each valid i

My code checks the ranges and fails. When I upped the boundary to 10^9 my code passed the test.

3 Likes

Yes this is true i also faced this

@kartik_354 @alex_2oo8 @tncks0121
Please look into this.
Constraints are slightly more than 10^6 ( I know the exact constraints but I prefer not to disclose) in test file 8,9,10.
PS : its less than 10^7 for sure.
Proof : CodeChef: Practical coding for everyone

2 Likes

The issue have been resolved by admin.

just earned popular link again XD
82 clicks LMAO.

3 Likes

even i clicked the link,kahi solution dikh jaaye:joy::joy::joy:

2 Likes