[백준] 2667 - 단지번호붙이기(설명X)
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859#include #include using namespace std; int bfs(int** arr, int** visited, int size, int x, int y) { queue order; order.push({ x, y }); int num = 0; visited[x][y] = 1; while (!order.empty()) { pair now = order.front(); order.pop(); num++; if (now.first + 1 = 0 && arr[now.first - 1][now.seco..
algorithm'''problem solve
2020. 5. 9. 17:11
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 백준
- 피보나치
- 완전탐색
- BaekJoon
- 1932
- 동적 계획법
- webOS
- 파이썬
- 플로이드 와셜
- 이분탐색
- PyPy3
- 구현
- LG
- 백트래킹
- 한화큐셀
- 오픈소스
- 브루트포스
- 코딩
- 프로그래머스
- 인공지능
- c++
- DP
- DFS
- 컨트리뷰톤
- c
- BFS
- 카카오
- 알고리즘
- Dynamic Programming
- 정렬
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함