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

다익스트라 알고리즘 안에 parent를 저장하는 배열을 추가해서 풀었다. #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using int64 = long long; int n, m; vector graph; struct VertexCost { bool operator(const VertexCost& other) const { return cost > other.cost; } int vertex; int cost; }; void Dijkstra(int start..
알고리즘
2022. 6. 27. 10:48