Java141 [백준/Java] 34778번 João João -Codeimport java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.StringTokenizer;public class BOJ34778 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int[] levels = n.. 2025. 12. 10. [백준/Java] 34749번 A healthy menu -Codeimport java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.Arrays;import java.util.StringTokenizer;public class BOJ34749 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int n =.. 2025. 12. 9. [백준/Java] 34802번 강의실 들어가기 -Codeimport java.util.Scanner;public class BOJ34802 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String[] start = sc.next().split(":"); String[] end = sc.next().split(":"); int t = sc.nextInt(); int k = sc.nextInt(); // 시간을 초로 바꾸어 계산하기 위한 배열 int[] timeRatio = {3600, 60, 1}; int totalStart = 0; in.. 2025. 12. 8. [백준/Java] 34891번 MT 준비 -Codeimport java.util.Scanner;public class BOJ34891 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double n = sc.nextInt(); double m = sc.nextInt(); System.out.println((int) (Math.ceil(n / m))); }} 2025. 12. 7. [백준/Java] 34824번 연대 다음 고대 -Codeimport java.util.Scanner;public class BOJ34824 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int koIdx = -1; int yonIdx = -1; for (int i = 0; i 2025. 12. 6. [백준/Java] 34823번 YCPC 점수 -Codeimport java.util.Scanner;public class BOJ34823 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int res = Integer.MAX_VALUE; for (int i = 0; i 2025. 12. 5. 이전 1 2 3 4 ··· 24 다음