Java611 [백준/Java] 34384번 Hard Rocks and Atomic Clocks -Codeimport java.util.Scanner;public class BOJ34384 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int time = sc.nextInt(); int isPassed = time % 3600; int remain = 3600 - isPassed; int sleepMin = (int) Math.ceil(remain / 60.0); System.out.println(sleepMin); }} 2025. 10. 19. [백준/Java] 34382번 Weather Nodes -Codeimport java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.StringTokenizer;public class BOJ34382 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int n = Integer.parseInt(st.nex.. 2025. 10. 18. [백준/Java] 34366번 Mines Football -Codeimport java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.StringTokenizer;public class BOJ34366 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int m = Integer.parseInt(st.nex.. 2025. 10. 17. [백준/Java] 34364번 MIR Cipher -Codeimport java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.StringTokenizer;public class BOJ34364 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int n = Integer.parseInt(st.nex.. 2025. 10. 16. [백준/Java] 34437번 Number Reduction -Codeimport java.util.Scanner;public class BOJ34437 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int cnt = 0; while (N != 1) { if (N % 2 == 0) { N = N / 2; } else { N = N + (N * 2) + 1; } cnt++; } System.out.println(cnt); .. 2025. 10. 15. [백준/Java] 34310번 No Stragglers -Codeimport java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.Arrays;import java.util.Objects;import java.util.StringTokenizer;public class BOJ34310 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.re.. 2025. 10. 14. 이전 1 ··· 91 92 93 94 95 96 97 ··· 102 다음