일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- express
- Git
- css framework
- --watch
- java
- Spring Boot
- Google Refund
- nodejs
- server
- spread 연산자
- Packet Network
- Unity IAP
- react
- Google Developer API
- Camera Zoom
- MySQL
- Camera Movement
- docker
- Unity Editor
- linux
- mongoDB
- draganddrop
- springboot
- screencapture
- OverTheWire
- critical rendering path
- SDK upgrade
- Digital Ocean
- rpg server
- unity
- Today
- Total
목록2025/03/09 (2)
우당탕탕 개발일지
https://school.programmers.co.kr/learn/courses/30/lessons/42627 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr 해결 방법job구조체를 만들어 리스트에 넣은 뒤, 요청순서대로 정렬한다.현재까지 들어온 요청작업을 넣기위해 pq를 만들고, 문제에서 제시한 작업우선순위 조건을 compare함수에 구현한다.현재시간 minute과, 배열의 어디까지 pq에 넣었는지를 검사하는 index를 놓는다.현재 시간보다 askTs가 먼저라면 pq에 모두 넣어준다. 하나씩 꺼내서 작업처리를해준다. 주의할 점이 몇가지 있다. 1. pq의 우선순위를 결정하는 compare함수에서,..
https://school.programmers.co.kr/learn/courses/30/lessons/43238 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr 실패한 방법 (시간초과)#include #include #include #include #include using namespace std;long long solution(int n, vector times) { auto compare = [](pair& a, pair& b){ if(a.second != b.second) return a.second > b.second; else return a.fir..