합성수 찾기1 [프로그래머스] 합성수 찾기 class Solution { // 약수의 개수를 찾는 메서드 public int getDiv(int n){ int cnt = 0; for(int i=1; i 2022. 12. 2. 이전 1 다음