11722 java
-
boj)11722 - 가장 긴 감소하는 부분 수열PS/boj 2020. 9. 20. 14:35
import java.io.*; import java.util.StringTokenizer; public class boj_11722 { static int[] dp; static int[] val; static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public static void main(String[] args) throws IOException { int n = Integer.parseInt(br.readLine()); dp = new int[n+1]; val = new int[n+1]; StringTokenizer st = new StringTokenizer(br.readLine()); for (int..