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

bfs를 이용하여 문제를 해결하였다. #include #include #include #include #include #include #include #include using namespace std; int n, l, r; vector v(50, vector(50)); int dRow[4] = { -1,0,1,0 }; int dCol[4] = { 0,1,0,-1 }; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); cin >> n >> l >> r; for (int i = 0; i > v[i][j]; } } int cnt = 0..
알고리즘
2022. 1. 3. 22:07