boj 1932 java
-
boj)1932 - 정수 삼각형PS/boj 2020. 9. 19. 17:08
import java.io.*; import java.util.StringTokenizer; public class boj_1932 { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); static StringTokenizer st; static long[][] dp; static int[][] val; // 0 ~ 9999 static int n; // 1 ~ 500 public static void main(String[] args) throws IOException { n = Integer.parseInt(br.readLine()); dp = new long[n+1][n+1]; val = new int[n..