목록데이터 엔지니어링 정복/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.StringTokenizer; public class LIS1 { private static BufferedWriter bw = new BufferedWriter( new OutputStreamWriter(System.out)); private static int n, result; private static int[] a, d; public static void m..
-자바 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.StringTokenizer; public class DownNum1 { private static BufferedWriter bw = new BufferedWriter( new OutputStreamWriter(System.out)); private static int n, result; private static int[] a, d; public static vo..
-자바 와 계속 시간초과나서 헤맸다; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; public class Main { private static BufferedWriter bw = new BufferedWriter( new OutputStreamWriter(System.out)); private static int t, n, div, limit, sum; 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; import java.util.StringTokenizer; public class BuyingCard2 { private static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); private static int n; private static int[] p; private static int[] d; p..