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
- 1835
- XOR
- 세그먼트 트리
- 그래프
- 백준
- 스택
- find
- Lazy Propagation
- 1835번
- 누적합
- DFS
- 정렬
- C++
- 브루트포스
- 최소 스패닝 트리
- DP
- 플로이드
- C언어
- 그리디
- 오프라인 쿼리
- union
- PASCAL
- Krustal
- java
- 덱
- 기하학
- 누적 합
- Segment Tree
- BFS
- 최대공약수
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함