[백준] 2579 - 계단오르기 [JAVA]
코드import java.io.BufferedReader;import java.io.InputStreamReader;import java.io.IOException;public class Main { static int[] stair; static int[] dp; static int N; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); N = Integer.parseInt(br.readLine()); stair = new int[N + 1]; ..