일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- DP
- 서브넷
- list
- List 제거
- Parse 사용법
- AddRange
- 네트워크
- 호스트
- Tostring 사용법
- c#
- 호스트 주소
- c# list
- Visual Studio
- IP주소
- 서브넷 마스크
- list 사용법
- 백준
- 기본 게이트웨이
- BFS
- List 찾기
- 네트워크 용어
- List 추가
- InsertRange
- TCP/IP
- C# Contains
- C++
- 알고리즘
- OSI 3계층
- C# Find
- List 정렬
- Today
- Total
목록2023/07 (22)
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..

using System; using System.Collections.Generic; using System.Linq; namespace _2178 { class Pair { public Pair(int first_, int second_) { first = first_; second = second_; } public int second { get; set; } public int first { get; set; } } class Program { static int n, m; static int[] dx = { 0, 1, 0, -1 }, dy = { -1, 0, 1, 0 }; static int[,] check = new int[100, 100]; static string[] input = new s..

using System; using System.Linq; class Program { static int n; static int result = 1; static void Input() { n = int.Parse(Console.ReadLine()); } static void Solution() { int[][] meeting_time = new int[n][]; for (int i = 0; i < n; i++) { var input = Console.ReadLine().Split(); int[] copy = new int[2]; copy[0] = int.Parse(input[0]); copy[1] = int.Parse(input[1]); meeting_time[i] = copy; } // 가변배열 ..

using System; using System.Collections.Generic; using System.Text; using System.IO; namespace _11279 { class MaxHeap { private List A = new List(); public void Add(int value) { // Add the end A.Add(value); // bubble up(부모노드 찾기) int i = A.Count - 1; while (i > 0) { int parent = (i - 1) / 2; if (A[parent] > A[i]) // Max Heap일때는 부등호를 반대 { Swap(parent, i); i = parent; } else break; } } public int Re..

#include #include #include #include #define pp pair using namespace std; int n, m, idx = 0; string str; map mm; map answer; bool compare(const pp& a, const pp& b) { if (a.second == b.second) return a.first > n >> m; for (int i = 0; i > str; mm[str] = true; } for (int i = 0; i > str; if (mm[str]) { answer..

using System; using System.Collections.Generic; using System.Linq; struct Locate { public int location, time; public Locate(int location,int time) { this.location = location; this.time = time; } } class Program { static int[] N_K = Console.ReadLine().Split().Select(int.Parse).ToArray(); static int n = N_K[0], k = N_K[1]; static bool[] visited = new bool[100001]; static Queue lot = new Queue(); s..