본문 바로가기 메뉴 바로가기

그랬었습니다

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

그랬었습니다

검색하기 폼
  • 분류 전체보기 (181)
    • algorithm'''problem solve (147)
    • C++ (5)
    • 공부 (10)
    • webOS-OSE (10)
    • 잡담 (1)
    • 인공지능 (7)
    • Android (1)
    • 취업 (0)
    • 부동산 (0)
  • 방명록

2667 (1)
[백준] 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
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 컨트리뷰톤
  • 백준
  • 카카오
  • 한화큐셀
  • 백트래킹
  • 피보나치
  • 알고리즘
  • 인공지능
  • c
  • PyPy3
  • 오픈소스
  • Dynamic Programming
  • BFS
  • 프로그래머스
  • 이분탐색
  • LG
  • 파이썬
  • c++
  • BaekJoon
  • webOS
  • 동적 계획법
  • 플로이드 와셜
  • 구현
  • 1932
  • DFS
  • 코딩
  • 완전탐색
  • 정렬
  • 브루트포스
  • DP
more
«   2025/06   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바