@@ -0,0 +1,503 @@
+import java.util.Scanner;%0A%0Apublic class Main %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A        Scanner sc = new Scanner(System.in);%0A%0A        while (sc.hasNext()) %7B%0A%0A            int a = sc.nextInt();%0A            int b = sc.nextInt();%0A            int n = sc.nextInt();%0A            int sum = 0;%0A%0A            a %25= b;%0A%0A            for (int i = 0; i %3C n; i++) %7B%0A                sum += a * 10 / b;%0A                a = a * 10 %25 b;%0A            %7D%0A%0A            System.out.println(sum);%0A%0A        %7D%0A%0A    %7D%0A%0A%7D%0A

Create : 0054