package hackerrank;

import java.util.Scanner;

/**
 * https://www.hackerrank.com/challenges/chocolate-feast
 */
public class ChocolateFeast {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        
    }
}

package hackerrank;

import java.util.Scanner;

/**
 * https://www.hackerrank.com/challenges/chocolate-feast
 */
public class ChocolateFeast {
    private static int chocolateFeast(int n, int m, int c) {
        // TODO
    }

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int testCases = in.nextInt();
        for (int t = 0; t < testCases; t++) {
            int n = in.nextInt();
            int c = in.nextInt();
            int m = in.nextInt();
            chocolateFeast(n, m, c);
        }
    }
}

Update Chocolat Feast