일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- shapeArea
- flask
- 수 정렬하기
- Numpy
- 피보나치 수
- Python
- Daily Commit
- 2015 봄학기 알고리즘
- centuryFromYear
- markdown
- 파이썬머신러닝완벽가이드
- data_structure
- matrixElementsSum
- baekjun
- recursion
- cpp
- almostIncreasingSequence
- codesingal
- Sequential Search
- 파이썬 포렌식
- 10953
- C++
- Counting cells in a blob
- codesignal
- til
- collections.deque
- All Longest Strings
- 2750
- adjacentElementsProduct
- 백준
Archives
- Today
- Total
목록수 정렬하기 1
Introfor
[백준] 2750, 2751, 10989번 / 수 정렬하기1, 2, 3
sort 알고리즘을 공부하면서 알게된 내용을 활용해서 풀었다. [2750, 2751번] 수 정렬하기1, 2 #include #include #include using namespace std; int main(){ int n = 0; ios_base::sync_with_stdio(0); cin.tie(0); cin >> n; vector v(n); for (int i=0; i> v[i].first; v[i].second = i; } sort(v.begin(), v.end()); for (int i = 0; i tmp; arr[tmp]++; } for(int i = 1 ; i
Programming_prob/BaekJoon
2020. 6. 29. 14:13