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
- paramiko
- Numpy
- 채보
- Docker
- 프로그래머스
- 오류
- error
- SSH
- mysql
- 명령어
- ubuntu
- label
- Visual Studio
- 핑거스타일
- LIST
- pandas
- 기타 연주
- Linux
- pytorch
- windows forms
- Selenium
- C
- JSON
- C#
- OpenCV
- 기타
- Python
- C++
- VS Code
- YOLO
Archives
- Today
- Total
목록min heap (1)
기계는 거짓말하지 않는다
힙 정렬(Heap Sort)
우선순위에 따른 정렬이 가능하다. Declaration #include #define MAX_Q_SIZE 101 typedef enum bool{ false, true }bool; typedef enum eSelectMenu { selectPush = 1, selectPop, selectPeek, selectExit } eSelectMenu; typedef struct ProcessInfo {// 프로세스 정보 저장을 위한 구조체 int pid; int remainingJob; bool initialize; }ProcessInfo; int queueElement = 0;//현재 큐에 있는 프로세스 수 ProcessInfo pQueue[MAX_Q_SIZE];// 우선순위 큐 bool IsNew(int); ..
C
2021. 8. 29. 16:43