@@ -0,0 +1,1484 @@
+/*%0A * Copyright 2017 haeun kim%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage algorithm.boj;%0A%0Aimport java.io.*;%0A%0A/**%0A * Created by haeun on 2017-09-30%0A * Site       : https://www.acmicpc.net/problem/2577%0A */%0A%0Apublic class Boj2577 %7B%0A%0A    public static void main(String%5B%5D args) throws IOException %7B%0A        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));%0A        int a = Integer.parseInt(br.readLine().trim());%0A        int b = Integer.parseInt(br.readLine().trim());%0A        int c = Integer.parseInt(br.readLine().trim());%0A        int mul = a*b*c;%0A        int tmp = mul;%0A        int count = 0; //mul%EC%9D%98 %EC%9E%90%EB%A6%BF%EC%88%98%0A        while(tmp != 0)%7B%0A            tmp /= 10;%0A            count++;%0A        %7D%0A%0A        int%5B%5D out = new int%5B10%5D; //%EA%B0%81%EA%B0%81%EC%9D%98 %EC%88%AB%EC%9E%90%EA%B0%80 %EB%AA%87%EB%B2%88 %EC%82%AC%EC%9A%A9%EB%90%98%EC%97%88%EB%8A%94%EC%A7%80 %EC%B2%B4%ED%81%AC%ED%95%A0 %EB%B0%B0%EC%97%B4%0A        for (int i=0; i%3Ccount; i++)%7B%0A            out%5Bmul%2510%5D++;%0A            mul /= 10;%0A        %7D%0A%0A        for (int i=0; i%3C10; i++)%7B%0A            System.out.println(out%5Bi%5D);%0A        %7D%0A    %7D%0A%0A%7D

Solve No.2577 from Baekjoon Online Judge