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 |
Tags
- List
- 스프링부트
- priority_queue
- CSS
- JPA
- string
- math
- alter
- 힙덤프
- 스택
- Java
- map
- Properties
- sql
- GC로그수집
- html
- spring boot
- date
- deque
- Union-find
- dfs
- 큐
- set
- scanner
- javascript
- BFS
- Calendar
- 리소스모니터링
- NIO
- union_find
Archives
- Today
- Total
목록백준11279번 (1)
매일 조금씩

priority_queue를 활용한 간단한 문제다. #include #include using namespace std; int main(void) { ios_base::sync_with_stdio(0); cin.tie(0);//cin 실행속도 향상 int n; cin >> n; priority_queue pq; for (int i = 0; i > op; if (op > 0) { pq.push(op); } else if (!op) { if (!pq.empty()) { cout
알고리즘
2020. 4. 9. 15:48