목록데이터 엔지니어링 정복/Algorithm (159)
지구정복
-자바 package dp; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.Arrays; import java.util.StringTokenizer; public class LeaveCop { private static BufferedWriter bw = new BufferedWriter( new OutputStreamWriter(System.out)); private static int n, max; private static int[] ..
-자바 package dp; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.Arrays; public class Sugar1 { private static BufferedWriter bw = new BufferedWriter( new OutputStreamWriter(System.out)); private static int n; private static int[] d; public static void main(String[] args)..
-자바 package dp; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; public class PenPineapple { private static BufferedWriter bw = new BufferedWriter( new OutputStreamWriter(System.out)); private static int n; private static String s, ans; public static void main(String[] args) throws Numbe..
-자바 package dp; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; public class Fibo { private static BufferedWriter bw = new BufferedWriter( new OutputStreamWriter(System.out)); private static int n; private static int[] d; public static void main(String[] args) throws NumberFormatExcepti..