chef gusteau coding problem solutions

So basically in this problem, first we have to find the largest number than we compare how many numbers are greater or equal to our largest number that's it. If that doesn’t work, repeat step 2 until you luck out. Ada and Dishes Codechef November long challenge problem solution - Problem Statement-Chef Ada is preparing N N dishes (numbered 1 1 through N N). I am not understanding the working of following code: for (i=0;i
chef gusteau coding problem solutions 2021