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