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

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..

#include #include #include using namespace std; string input; map name; map num; int main() { ios::ios_base::sync_with_stdio(false); cin.tie(0); int n, m; cin >> n >> m; for (int i = 1; i > input; name[input] = i; num[i] = input; } for (int i = 0; i > input; if (name[input] != NULL) cout

using System; class Program { static string[] str; static int result = 0; static void Input() { str = Console.ReadLine().Split('-'); } static void Solution() { Division(); for(int i=1; i