목록다이나믹 (17)
hara
https://www.acmicpc.net/problem/11057 import java.util.Scanner; public class a11057 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); long[][] arr = new long[num+1][10]; for(int i=0; i
https://www.acmicpc.net/problem/10844 import java.util.Scanner; public class a10844 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); long[][] arr = new long[num+1][10]; for(int i=1; i
https://www.acmicpc.net/problem/2193 import java.util.Scanner; public class a2193 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); long[] arr = new long[num+1]; arr[1] = 1; if(num == 1) { System.out.println(arr[num]); }else { for(int i=2; i
https://www.acmicpc.net/problem/11727 import java.util.Scanner; public class a11727 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int[] arr = new int[num+1]; arr[0] = arr[1] = 1; if(num == 1) { System.out.println(arr[num]); }else { for(int i=2; i