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