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
- 수학
- 그리디 알고리즘
- DFS
- 브루트포스
- 트리
- 알고리즘
- 유니온 파인드
- c++
- Unreal Engine 5
- Team Fortress 2
- 정렬
- BFS
- 스택
- 자료구조
- 다익스트라
- VR
- 유니티
- 백트래킹
- XR Interaction Toolkit
- 투 포인터
- 재귀
- 구현
- 우선순위 큐
- 다이나믹 프로그래밍
Archives
- Today
- Total
목록색칠하기 C++ (1)
1일1알
백준 13265번 색칠하기 C++
https://www.acmicpc.net/problem/13265 13265번: 색칠하기 각 테스트 케이스에 대해서 possible 이나 impossible 을 출력한다. 2 가지 색상으로 색칠이 가능하면 possible. 불가능하면 impossible 이다. www.acmicpc.net dfs로 2개의 색을 번갈아가며 칠하다가 불가능한 경우가 나오면 dfs 종료 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using int64 = long long; in..
알고리즘
2023. 2. 14. 15:23