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);
        
    }
}

@@ -136,16 +136,100 @@
 Feast %7B%0A
+    private static int chocolateFeast(int n, int m, int c) %7B%0A        // TODO%0A    %7D%0A%0A
     publ
@@ -318,16 +318,240 @@
         
+int testCases = in.nextInt();%0A        for (int t = 0; t %3C testCases; t++) %7B%0A            int n = in.nextInt();%0A            int c = in.nextInt();%0A            int m = in.nextInt();%0A            chocolateFeast(n, m, c);%0A        %7D
 %0A    %7D%0A%7D

Update Chocolat Feast