[백준] 9506번 약수들의 합 Java 문제 풀이
문제풀이 import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; interface Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); StringTokenizer st; int n = Integer.parseInt(br.readLine()), sum = 0; while(n != -1) { sb.setLength(0); sb.append(n + "..
2023. 3. 20. 18:21