[BOJ] 2579. 계단 오르기(DP)
#. Problemhttps://www.acmicpc.net/problem/2579* The copyright in this matter is in BOJ #. Resolution Process 1. Read and understand problem 2. Redefine the problem + abstract- 계단은 한 번에 한 계단씩 또는 두 계단씩 오를 수 있다. - 즉, 한 계단을 밟으면서 이어서 다음 계단이나, 다음 다음 계단으로 오를 수 있다.- 연속된 세 개의 계단을 모두 밟아서는 안 된다. 단, 시작점은 계단에 포함되지 않는다.- 마지막 도착 계단은 반드시 밟아야 한다. 3. Create solution plan (select Algorithm, Data structure) 4. Prov..
PS/Problem_Solving
2020. 6. 14. 20:20