[Link] https://AtCoder.jp/contests/abc237/tasks/abc237_a import java.util.*; import java.io.*; public class Main { static BufferedReader br; static StringBuilder sb = new StringBuilder(); pub...
BOJ. Find (1786)
[Link] https://www.acmicpc.net/problem/1786 import java.util.*; import java.io.*; public class Main { static BufferedReader br; static StringBuilder sb = new StringBuilder(); public static v...
BOJ. String square (4354)
[Link] https://www.acmicpc.net/problem/4354 import java.util.*; import java.io.*; public class Main { static BufferedReader br; static StringBuilder sb = new StringBuilder(); public static v...
BOJ. Ant tunnel (14725)
[Link] https://www.acmicpc.net/problem/14725 import java.util.*; import java.io.*; public class Main { static BufferedReader br; static StringBuilder sb = new StringBuilder(); public static ...
BOJ. String set (14425)
[Link] https://www.acmicpc.net/problem/14425 import java.util.*; import java.io.*; public class Main { static BufferedReader br; public static void main(String[] args) throws IOException { ...
BOJ. Two Liquid (2470)
[Link] https://www.acmicpc.net/problem/2470 import java.util.*; import java.io.*; public class Main { static BufferedReader br; public static void main(String[] args) throws IOException { b...
BOJ. Knapsack problem (1450)
[Link] https://www.acmicpc.net/problem/1450 When N = 30 Time complexity is O(2^30) > O(10^9) In order to reduce time complexity, cut the baggage to half which reduces time complexity to O(2^15 ...
BOJ. Sum of two number (3273)
[Link] https://www.acmicpc.net/problem/3273 import java.util.*; import java.io.*; public class Main { static BufferedReader br; public static void main(String[] args) throws IOException { b...
BOJ. Subsequence sum (1806)
[Link] https://www.acmicpc.net/problem/1806 import java.util.*; import java.io.*; public class Main { static BufferedReader br; static int n = 0; static int[][] cost; static int[][] dp; pu...
BOJ. Stick (1094)
[Link] https://www.acmicpc.net/problem/1094 import java.util.*; import java.io.*; public class Main { static BufferedReader br; static int n = 0; static int[][] cost; static int[][] dp; pu...