전체 글263 백준 9613 ▶ 9613문제 - GCD합 ▶ 풀이방법 import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); int count = Integer.parseInt(br.readLine()); for(int i = 0 ; i < count; i++) { StringTokenizer st = new String.. 2022. 3. 30. 백준 1934 ▶ 1934번 문제 - 최소공배수 2609번 문제와 비슷( https://shinny.tistory.com/152 ) ▶ 풀이방법 import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); int count = Integer.parseInt(br.readLine()); for(int i = 0 .. 2022. 3. 30. 백준 2609 ▶ 2609번 문제 - 최대공약수와 최소공배수 ▶ 풀이방법 import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); StringTokenizer st = new StringTokenizer(br.readLine()); int a = Integer.parseInt(st.nextToken()); .. 2022. 3. 30. 백준 10430 ▶ 10430문제 - 나머지 ▶ 풀이방법 import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); StringTokenizer st = new StringTokenizer(br.readLine()); int a = Integer.parseInt(st.nextToken()); int b = Int.. 2022. 3. 30. 이전 1 ··· 27 28 29 30 31 32 33 ··· 66 다음