일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Android
- 카카오인코더
- 연결리스트
- BFS
- hackerrank
- git
- 스프링
- TensorFlow
- stl
- 블로그개설
- 스프링프레임워크
- 프로그래머스
- 프로그래밍
- spring
- c
- 스프링 프레임워크
- 머신러닝
- 백준
- 인코더
- DP
- ADAS
- python3
- 안드로이드
- c++
- Rebase
- retrofit
- vue.js
- Kotlin
- Map
- 백트래킹
Archives
- Today
- Total
목록set (1)
이것저것 공부한 기록

1. Set - 그냥 큰 상자 안에 모든 원소들을 쑤셔 넣은 것이라고 보면 됨. - 원소가 '있나/없나'를 판별할 때 쓰기 좋음 #include using namespace std ; Library : set Namespace : std //선언 set s ; //insert s.insert(10) ; s.insert(20) ; s.insert(50) ; s.insert(40) ; s.insert(40) ; Set 안에는 중복된 원소들이 없다. 또한, iterator를 사용하여 순서대로 출력을 수행할 경우, 크기대로 정렬되어 출력된다. for (auto itr = s.begin(); itr != s.end(); ++itr) cout
Study/프로그래밍 개념정리
2019. 10. 26. 17:15