Codechef Fill the Bucket problem solution
In this Fill the Bucket problem we have a Bucket having a capacity of K liters. It is already filled with X liters of water. we need to find the maximum amount of extra water in liters that can fill in the bucket without overflowing the bucket. Problem solution in C programming. #include <stdio.h>…