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
- springboot
- draganddrop
- java
- screencapture
- linux
- critical rendering path
- Unity Editor
- OverTheWire
- Google Refund
- Camera Zoom
- express
- react
- MySQL
- --watch
- Unity IAP
- rpg server
- mongoDB
- nodejs
- Camera Movement
- Spring Boot
- css framework
- Git
- Packet Network
- spread 연산자
- SDK upgrade
- unity
- server
- Google Developer API
- Digital Ocean
- docker
Archives
- Today
- Total
목록2025/03/27 (1)
우당탕탕 개발일지
[프로그래머스] Level 4. 호텔 방 배정
https://school.programmers.co.kr/learn/courses/30/lessons/64063 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr 처음엔 배열로 parent를 구현했는데, 시간초과가 발생했다. unordered_map을 사용하니 통과함.방이 찼을 경우, 자기다음으로 큰 방번호를 parent에 넣는다.방번호를 찾을때, parent를 올바른값으로 갱신하는 부분도 들어가있다.for(long long i:prevs) parent[i] = room; 전체코드#include #include #include using namespace std;long long getRoom(uno..
Algorithm(c++)/Level 4
2025. 3. 27. 11:16