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
- BFS
- 수학
- 시뮬레이션
- 구현
- 문자열
- 트리
- Unreal Engine 5
- 유니온 파인드
- 그래프
- 다이나믹 프로그래밍
- 스택
- ue5
- 백준
- 재귀
- 그리디 알고리즘
- XR Interaction Toolkit
- 알고리즘
- 우선순위 큐
- DFS
- 투 포인터
- 브루트포스
- 누적 합
- 다익스트라
- 정렬
- 자료구조
- Team Fortress 2
- 백트래킹
- 유니티
- VR
- c++
Archives
- Today
- Total
목록백준 6497 C++ (1)
1일1알

유니온 파인드 자료구조를 이용해서 최소 스패닝 트리를 구하여 절약할 수 있는 최대 비용을 구했다. #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using int64 = long long; struct Info { int house1; int house2; int dist; bool operator(const Info& other) const { return dist > other.dist; } }; vector parent; vector he..
알고리즘
2022. 8. 30. 10:11