@@ -0,0 +1,1669 @@
+import java.io.*;%0Aimport java.math.*;%0Aimport java.security.*;%0Aimport java.text.*;%0Aimport java.util.*;%0Aimport java.util.concurrent.*;%0Aimport java.util.regex.*;%0A%0Apublic class Solution %7B%0A%0A    // Complete the chocolateFeast function below.%0A    static int chocolateFeast(int n, int c, int m) %7B%0A        int totl_choco=0;%0A        int no_of_choclate_with_cash =(int) n/c;%0A        totl_choco= no_of_choclate_with_cash;%0A        %0A        int no_OF_CHOCOLATE_WITH_wrapper = (int)no_of_choclate_with_cash/m;%0A        int remainder=no_of_choclate_with_cash%25m;%0A        totl_choco+=no_OF_CHOCOLATE_WITH_wrapper;%0A        do%7B%0A            no_OF_CHOCOLATE_WITH_wrapper=(int)((no_OF_CHOCOLATE_WITH_wrapper+remainder)/m);%0A            totl_choco+=no_OF_CHOCOLATE_WITH_wrapper;%0A            remainder = 0;%0A        %7Dwhile((no_OF_CHOCOLATE_WITH_wrapper)%3E=m);%0A        return totl_choco;%0A    %7D%0A%0A    private static final Scanner scanner = new Scanner(System.in);%0A%0A    public static void main(String%5B%5D args) throws IOException %7B%0A        BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(System.getenv(%22OUTPUT_PATH%22)));%0A%0A        int t = scanner.nextInt();%0A        scanner.skip(%22(%5Cr%5Cn%7C%5B%5Cn%5Cr%5Cu2028%5Cu2029%5Cu0085%5D)?%22);%0A%0A        for (int tItr = 0; tItr %3C t; tItr++) %7B%0A            String%5B%5D ncm = scanner.nextLine().split(%22 %22);%0A%0A            int n = Integer.parseInt(ncm%5B0%5D);%0A%0A            int c = Integer.parseInt(ncm%5B1%5D);%0A%0A            int m = Integer.parseInt(ncm%5B2%5D);%0A%0A            int result = chocolateFeast(n, c, m);%0A%0A            bufferedWriter.write(String.valueOf(result));%0A            bufferedWriter.newLine();%0A        %7D%0A%0A        bufferedWriter.close();%0A%0A        scanner.close();%0A    %7D%0A%7D%0A

add ChocolateFeast.java -- 1 test case failed