1475번
-
boj)1475PS/boj 2020. 8. 23. 16:00
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String N = br.readLine(); int[] numArr = new int[10]; // 0~9 for (int i = 0; i < N.length(); i++) { numArr[N.charAt(i) - '0']++; } int sum69 = numArr[6] + numArr[9]; // 6,9의 합 int r..