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

bfs로 같은 색이 4개이상 이어져있으면 그 부분을 터트려서 빈 공간으로 만들고 다 터지면 밑에서부터 탐색하면서 밑에 빈 공간이 있으면 밑으로 내려오도록 했다. #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; const int ROW = 12; const int COL = 6; int dRow[4] = { -1,0,1,0 }; int dCol[4] = { 0,1,0,-1 }; vector board(ROW, vector(COL)); vector found..
알고리즘
2022. 5. 19. 13:59