@@ -0,0 +1,485 @@
+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 (true) %7B%0A%0A            int num = sc.nextInt();%0A%0A            if (num == 0) %7B%0A                break;%0A            %7D%0A%0A            int numberOfTailZero = 0;%0A%0A            for (int i = 5; i %3C= num; i *= 5) %7B%0A                numberOfTailZero += num / i;%0A            %7D%0A%0A            System.out.println(numberOfTailZero);%0A%0A        %7D%0A%0A    %7D%0A%0A%7D%0A

Create : 0052