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

큐 자료구조를 이용하였다. #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int n; cin >> n; int back; queue q; while (n--) { string order; cin >> order; if (order == "push") { int x; cin >> x; ..
알고리즘
2022. 6. 6. 12:58