반응형
/*
* Author : Jeonghun Cho
* Date : December 3, 2019
*/
public class Main {
public static void main(String[] args) throws IOException{
// TODO Auto-generated method stub
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
String[] str = new String[3];
String result = null;
int cnt = 0;
int[] iArr = new int[10];
for(int i=0;i<str.length;i++) {
str[i] = br.readLine();
}
result = (Integer.parseInt(str[0]) * Integer.parseInt(str[1]) * Integer.parseInt(str[2]))+""; // 1035
for(int i=0; i<result.length(); i++) { // 4
iArr[result.charAt(i) - 48] = iArr[result.charAt(i)-48] += 1;
}
for(int i=0; i<iArr.length; i++) {
}
}
}
Colored by Color Scripter
|
반응형
'알고리즘 > 백준' 카테고리의 다른 글
[백준] 8958 OX퀴즈 (Java) (0) | 2019.12.03 |
---|---|
[백준] 1546 평균 (Java) (0) | 2019.12.03 |
[백준] 2562 최댓값 (Java) (0) | 2019.12.03 |
[백준] 10816 최소, 최대 (Java) (0) | 2019.12.03 |
[백준] 1110 더하기 사이클 (Java) (0) | 2019.12.03 |