일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- markdown
- collections.deque
- centuryFromYear
- 2750
- codesingal
- Counting cells in a blob
- 피보나치 수
- 수 정렬하기
- cpp
- matrixElementsSum
- Python
- almostIncreasingSequence
- C++
- baekjun
- 2015 봄학기 알고리즘
- Numpy
- Sequential Search
- adjacentElementsProduct
- 10953
- shapeArea
- 파이썬 포렌식
- recursion
- 파이썬머신러닝완벽가이드
- Daily Commit
- til
- 백준
- flask
- codesignal
- All Longest Strings
- data_structure
Archives
- Today
- Total
목록vector 1
Introfor
[C++] Pair, Vector STL
STL 표준 템플릿 라이브러리(Standard Template Library) C++에서 필요한 자료구조와 알고리즘을 Template로 제공하는 라이브러리 구성 Container, Iterator, functor, Algorith Pair and Vector Pair #include 헤더 파일을 추가해주거나 또는 헤더를 추가해줍니다. Pair는 두 쌍의 자료형을 묶어서 사용하는 것으로 pair형식으로 작성한다. #include #include using namespace std; pair p; int main(){ // how to put in pair // p.first = 1; // p.second = 5; p = make_pair(1,5); printf("%d %d\n", p.first, p.sec..
Doing/C&C++
2020. 6. 29. 08:47