Algorithm/Softeer
-
[Softeer] [21년 재직자 대회 예선] 전광판Algorithm/Softeer 2024. 2. 4. 13:00
Softeer - 현대자동차그룹 SW인재확보플랫폼 softeer.ai import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.Map; import java.util.StringTokenizer; public class 전광판 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st; int T = Int..
-
[Softeer] [21년 재직자 대회 예선] 비밀 메뉴Algorithm/Softeer 2024. 2. 3. 13:00
Softeer - 현대자동차그룹 SW인재확보플랫폼 softeer.ai import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class 비밀메뉴 { 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.parse..
-
[Softeer] [21년 재직자 대회 예선] 회의실 예약Algorithm/Softeer 2024. 2. 2. 01:30
Softeer - 현대자동차그룹 SW인재확보플랫폼 softeer.ai import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; public class 회의실_예약 { 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.nextT..
-
[Softeer] 바이러스Algorithm/Softeer 2024. 1. 29. 20:06
Softeer - 현대자동차그룹 SW인재확보플랫폼 softeer.ai import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class 바이러스 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); long K = Integer.pars..