일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- markdown
- centuryFromYear
- 백준
- matrixElementsSum
- 피보나치 수
- Python
- Daily Commit
- Counting cells in a blob
- codesingal
- recursion
- baekjun
- cpp
- til
- 10953
- flask
- 2750
- 수 정렬하기
- almostIncreasingSequence
- 파이썬 포렌식
- codesignal
- Sequential Search
- 2015 봄학기 알고리즘
- shapeArea
- data_structure
- 파이썬머신러닝완벽가이드
- All Longest Strings
- adjacentElementsProduct
- C++
- Numpy
- collections.deque
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