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
- c++
- 투 포인터
- 구현
- 알고리즘
- 자료구조
- 재귀
- 문자열
- 백트래킹
- 브루트포스
- ue5
- 유니온 파인드
- Team Fortress 2
- 트리
- 유니티
- 스택
- BFS
- 시뮬레이션
- 수학
- XR Interaction Toolkit
- 다익스트라
- DFS
- 다이나믹 프로그래밍
- 그리디 알고리즘
- 정렬
- Unreal Engine 5
- 누적 합
- 그래프
Archives
- Today
- Total
목록백준 3184 C++ (1)
1일1알
백준 3184번 양 C++
https://www.acmicpc.net/problem/3184 3184번: 양 첫 줄에는 두 정수 R과 C가 주어지며(3 ≤ R, C ≤ 250), 각 수는 마당의 행과 열의 수를 의미한다. 다음 R개의 줄은 C개의 글자를 가진다. 이들은 마당의 구조(울타리, 양, 늑대의 위치)를 의미한다. www.acmicpc.net bfs #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using int64 = long long; int dRow[4] = { -1,0,1,0 }; int dCol[4] ..
알고리즘
2023. 6. 30. 12:07