Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- OSI 3계층
- List 제거
- 알고리즘
- 기본 게이트웨이
- 네트워크
- C# Find
- 호스트 주소
- BFS
- list
- c#
- C# Contains
- AddRange
- 서브넷
- C++
- list 사용법
- InsertRange
- DP
- Tostring 사용법
- 호스트
- 서브넷 마스크
- List 찾기
- IP주소
- TCP/IP
- Visual Studio
- c# list
- 네트워크 용어
- List 정렬
- Parse 사용법
- 백준
- List 추가
Archives
- Today
- Total
목록동적계획법 (1)
CodeLabs

using System; class Stair { private int[] cost = new int[301]; internal int this[int index] { get { return cost[index]; } set { cost[index] = value; } } } class Program { static int t = int.Parse(Console.ReadLine()); static int[] dp = new int[301]; static Stair stair = new Stair(); static void Main(string[] args) { for (int i = 0; i < t; i++) stair[i] = int.Parse(Console.ReadLine()); dp[0] = sta..
백준/1000 ~
2023. 7. 30. 22:27