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

문제에 써있는대로 구현하였다. #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; int r, c, t; vector airCleaner(2); int dRow[4] = { -1,0,1,0 }; int dCol[4] = { 0,1,0,-1 }; void SpreadDust(vector& board) { vector tmp(r, vector(c, 0)); for (int i = 0; i < r; i++) { for (int j = 0; j < c; j++) {..
알고리즘
2022. 5. 25. 12:58