Java443 [백준/Java] 23292번 코딩 바이오리듬 -Codeimport java.util.Scanner;public class BOJ23292 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String birthday = sc.next(); int t = sc.nextInt(); int maxBio = -1; String res = ""; for (int i = 0; i maxBio) { maxBio = nowBio; res = codingDay; } else if (nowBio == maxBio) { .. 2025. 11. 30. [백준/Java] 34849번 이중 반복문 -Codeimport java.util.Scanner;public class BOJ34849 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); System.out.println(n 2025. 11. 30. [백준/Java] 34795번 An Elephant Problem -Codeimport java.util.Scanner;public class BOJ34795 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double m = sc.nextInt(); double d = sc.nextInt(); int res = (int) Math.ceil(d / m); System.out.println(res); }} 2025. 11. 28. [백준/Java] 34759번 얼룩말과 사자 -Codeimport java.util.Scanner;public class BOJ34759 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long N = sc.nextLong(); System.out.println(N * 2); }} 2025. 11. 27. [LeetCode/Java] Daily Temperatures -Codeclass Solution { public int[] dailyTemperatures(int[] temperatures) { int length = temperatures.length; int[] answer = new int[length]; Stack stack = new Stack(); for (int i = 0; i 2025. 11. 27. [LeetCode/Java] Final Prices With a Special Discount in a Shop -Codeclass Solution { public int[] finalPrices(int[] prices) { int pricesLength = prices.length; for (int i = 0; i = prices[j]) { prices[i] = prices[i] - prices[j]; break; } } } return prices; }} 2025. 11. 27. 이전 1 ··· 50 51 52 53 54 55 56 ··· 74 다음