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

노드와 트리를 직접 만들어서 풀다가 좀 오래걸렸는데 다른사람들 푼 것을 보니까 map으로 쉽게 풀 수 있었다. #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using int64 = long long; struct Node { Node* parent = nullptr; Node* left = nullptr; Node* right = nullptr; char value; }; Node* root = nullptr; Node* FindNode(Node* curr,..
알고리즘
2022. 6. 12. 19:57