Java493 [백준/Java] 6693번 Complicated Route -Codeimport java.io.*;public class BOJ6693 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (true) { String input = br.readLine(); if (input.equals("END")) { break; } String[] moveList = input.replace(".", "").spli.. 2026. 2. 16. [백준/Java] 16967번 배열 복원하기 -Codeimport java.io.*;import java.util.*;public class Main { static int height; static int width; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); height = Integer.parseInt(st.nextToken()); width = Intege.. 2026. 2. 15. [백준/Java] 15803번 PLAYERJINAH’S BOTTLEGROUNDS -Codeimport java.io.*;import java.util.*;public class BOJ15803 { static class StartPos { int x, y; public StartPos(String pos) { String[] split = pos.split(" "); this.x = Integer.parseInt(split[0]); this.y = Integer.parseInt(split[1]); } } public static void main(String[] args) throws IOException { BufferedReader br = .. 2026. 2. 14. [백준/Java] 4201번 Snakes and Ladders -Codeimport java.io.*;import java.util.*;public class BOJ4201 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int playerCnt = Integer.parseInt(st.nextToken()); int potalCnt = Integer.parseInt(st.nextToken()).. 2026. 2. 14. [백준/Java] 2303번 숫자 게임 -Codeimport java.io.*;import java.util.*;public class BOJ2303 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int playerCnt = Integer.parseInt(br.readLine()); int winner = 0, maxSocre = 0; for (int player = 1; player = maxSocre) { winner = player; .. 2026. 2. 13. [백준/Java] 2641번 다각형그리기 -Codeimport java.io.*;import java.util.*;public class BOJ2641 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int length = Integer.parseInt(br.readLine()); // 비교할 셈플 받기 StringTokenizer st = new StringTokenizer(br.readLine()); StringBuilder originSampleSb = .. 2026. 2. 13. 이전 1 2 3 4 ··· 83 다음