목록데이터 엔지니어링 정복/Algorithm (159)
지구정복
-자바 package dp; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; public class SquaredSum { private static BufferedWriter bw = new BufferedWriter( new OutputStreamWriter(System.out)); private static int n, j, tmp; private static int[] d; public static void main(String[] args) throws IOExc..
-자바 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 LIS2 { private static BufferedWriter bw = new BufferedWriter( new OutputStreamWriter(System.out)); private static int n, result; private static int[] a, d; private static Strin..
쉬워보였는데 은근히 오래걸렸다 ㅠ -자바 package math; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.ArrayList; import java.util.StringTokenizer; public class MulAndDiv { private static BufferedWriter bw = new BufferedWriter( new OutputStreamWriter(System.out)); private static int a1, ..
-자바 package string; 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 WordContrary { private static BufferedWriter bw = new BufferedWriter( new OutputStreamWriter(System.out)); private static int t; private static StringBuilder sb, tmp; publi..