c언어 23034번 조별과제 멈춰! (백준)
#include #include typedef struct Node{int x, y, v;}Node; //간선 구조체 typedef struct Pair{int y, v;}Pair; //정수형 변수 두개 묶어논 구조체 typedef struct qNode { //큐에 들어갈 구조체 Pair data; struct qNode* next; //다음 큐의 구조체를 가리킵니다. }qNode; typedef struct Queue {//큐 qNode* front; qNode* rear; int cnt; }Queue; void init(Queue* q) {//큐 초기화 q->cnt = 0; q->front = q->rear = NULL; } int isEmpty(Queue* q) {return q->cnt==0;}..
c언어/BAEKJOON
2023. 3. 30. 03:55
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 스택
- 누적합
- 정렬
- 카드
- 그리디
- DP
- Krustal
- 세그먼트 트리
- 덱
- BFS
- 6198번
- C언어
- 오프라인 쿼리
- 1835번
- 플로이드
- 최소 스패닝 트리
- 6198
- DFS
- 백준
- 16120번
- 트리
- find
- 누적 합
- union
- java
- 그래프
- C++
- Mo.s
- 최대공약수
- 1835
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함