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
- 백준
- englishbook
- SQL
- 코테 준비
- 프로그래머스
- 원서읽기
- BFS
- PyQt
- STUDYENGLISH
- 삼성
- 쉬운 알고리즘 문제
- the midnight library
- 코테 대비
- 알고리즘 문제
- MySQL
- swexpertacademy
- 직무면접
- sw expert academy
- 원서
- sw expert
- 코테
- D4
- 코딩테스트
- 완전탐색
- English
- 원서읽자
- nightroutine
- dfs
- readingbook
- 알고리즘
Archives
- Today
- Total
목록7730 (1)
시나브로
[D5] 7730. 나무 깎는 홍준
#include int tree[1000000]; int tree_amount = 0; int want_to_tree_amount = 0; int available(int mid) { long long buffer = 0; for (int i =tree_amount-1; i >0; i--) { if (tree[i] > mid) { buffer += tree[i] - mid; } if (tree[i] = want_to_tree_amount) return 1; return 0; } void quickSort(int first, int last) { int pivot; int i; int j; int temp; if (first < last) { pivot =..
알고리즘/SW Expert Academy
2019. 10. 6. 11:02