We invite you to participate in CodeChef’s Starters 226, this Wednesday, 18th February, rated for 5 stars (i.e. for users with rating < 2200).
Time: 8:00 PM — 10:00 PM IST
Joining us on the problem setting panel are:
Author: Shreyan Dominater069 Ray
Tester: Sushil SmolBrain Raaja
Text Editorialist: Nishank IceKnight1093 Suresh
Written editorials will be available for all on discuss.codechef.com. Pro users can find the editorials directly on the problem pages after the contest. The video editorials of the problems will be available only to Pro users.
Also, if you have some original and engaging problem ideas, and you’re interested in them being used in CodeChef's contests, you can share them here. Hope to see you participating.
Good Luck!









Contest starts in 30 minutes.
Were the test cases on "Good Array" weak because my 2 states dp solution passed using map. Not sure if due to some property we don't visit all states or just weak test case.
can anyone tell why my approach is incorrect for problem At least one
my approach was to calculate contibution of each $$$gap (1 \lt = d \lt n)$$$ by counting no. of subsequence having first $$$gap == d$$$ between $$$i$$$ and $$$i + d$$$
i think there is error in 'minimum distance' typing. no mention of input k