[백준] 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
- 플로이드 와셜
- 이분탐색
- DFS
- PyPy3
- 완전탐색
- c++
- 오픈소스
- 코딩
- BaekJoon
- 인공지능
- BFS
- 알고리즘
- 백트래킹
- DP
- 1932
- c
- LG
- 카카오
- 한화큐셀
- 동적 계획법
- 프로그래머스
- Dynamic Programming
- 구현
- 백준
- webOS
- 정렬
- 피보나치
- 브루트포스
- 컨트리뷰톤
- 파이썬
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함