250x250
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
- C++
- 프로세스
- 운영체제
- 쉘
- C언어
- error
- 백준
- 턱걸이
- 텐서플로우
- 학습
- Windows10
- python
- 영상처리
- Windows 10
- c
- 알고리즘
- 공부
- 회귀
- CV
- 프로그래밍
- 리눅스
- shell
- 코딩
- 시스템프로그래밍
- 백준알고리즘
- linux
- Computer Vision
- 딥러닝
- OpenCV
- TensorFlow
Archives
- Today
- Total
목록sort 사용법 (1)
줘이리의 인생적기
C++ - sort
sort 알고리즘은 오름차순, 내림차순, 사용자가 정의한 순서로 정렬해주는 알고리즘. default는 오름차순, 평균 시간복잡도는 퀵 정렬 기반이라 n*logn. sort 알고리즘은 헤더파일 안에 있음 #include 을 추가해야 한다. 원형 #array sort(array, array+n);//default 오름차순 sort(array, array+n, 함수); #vector sort(vector.begin(), vector.end()); // default 오름차순 sort(vector.begin(), vector.end(), less()); //오름차순 sort(vector.begin(), vector.end(), greater()); //내림차순 sort(vector.begin(), vector...
공부/C++ STL
2020. 7. 28. 08:00