11054 java
-
boj)11054 - 가장 긴 바이토닉 부분 수열PS/boj 2020. 9. 20. 20:29
import java.io.*; import java.util.StringTokenizer; public class Main { static int[] d; static int[] dl; static int[] dr; 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()); d = new int[n+1]; dl = new int[n+1]; dr = new int[n+1]; val = new int[n+1]; ..