We invite you to participate in CodeChef’s Starters 155, this Wednesday, 9th October, rated upto 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:
Contest Admin and Statement Verifier: Yash yash_daga Daga
Setters: Manan mexomerf Grover, Ashish Kryptonix Gangwar, Harsh harsh__h, Bernard BERNARB.01 Ibrahimcha
Tester: Manan mexomerf Grover
Text Editorialists: 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!








The contest starts in around ~15 minutes.
What wrong with this Replace With First's logic ?
lets say s== lion, t = lioeeeeeeen we can make do o-> oeeeeeee in 1 operation but your code will give 2
why is in gcd(hard) question, printing matrix with all number as 2 is wrong?
maybe because any row and column gcd will be 2 ??
I have a question for those who solved problem Div1C (Div2D) Prefix Suffix Min Max ,
How did u figured out the solution ? did u solve almost similar problem before or solved it just now ?
just assume a[0] to be the max element
solved for the first time.
-> a[0]=max(a[1]....a[n-1]) or 2000000
i liked array concatenation (although could not solve in contest)
was an easy observation u should have considered different cases
multiply by mod inverse