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
- 그린델발트 캠핑장
- iles dHyeres
- 16236 c++
- 백준
- 프랑스 남부 섬
- C++ 공부하기
- 그린델발트 자전거
- 1654
- Replit
- 오리스프
- auto code review
- 로이커바트
- 군대
- 융프라우 스위스 패스
- 군인
- 코딩
- 백준으로 c++ 공부하기
- 대학생
- 군대코딩
- 24524
- 시뮬레이션
- 알고리즘
- openai api
- 백준 C++
- C++ 공부
- 피르스트 자전거
- 로이커바트 숙소
- porquerolles
- 백준으로 C++ 공부
- C++
Archives
- Today
- Total
목록2805 (1)
기억보다는 기록을 해볼까

오늘 공부한 백준 1966, 2805, 1929 1966 큐는 push, pop, front 벡터는 push_back while(num--){ //num번 반복 queue q; vector v; int n, m; cin >> n >> m; for(int i = 0; i > input; v.push_back(input); q.push({i, input}); } sort(v.begin(), v.end(), compare); int cnt = 0; int i = 0; while(!q.empty()){ int a = q.front().first; int b = q.front().second; if(v[i] == q.front().second){ q.pop(); +..
백준으로 C++ 공부하기
2021. 11. 4. 20:19