MCPcopy Create free account
hub / github.com/dongyi-kim/10weeks-codingtest / getLinkedHousesNumber

Function getLinkedHousesNumber

chapter07/problem_h/main.cpp:18–39  ·  view source on GitHub ↗

* @brief (r행 c열)의 집으로부터 연결 된 '아직 방문하지 않은 집'의 총 수를 계산하는 함수 * 이 과정에서 방문하는 집은 모두 visited[r][c]를 true로 갱신한다 * * @param r 현재 기준 칸의 행 번호 * @param c 현재 기준 칸의 열 번호 * @param N 지도의 크기 * @param isHouse isHouse[r][c] := r행 c열의 칸에 집이 존재하는지 여부 * @param visited visited[r][c] := r행 c열의 칸의 집이 이미 고려 되었는지 여부 * @return */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getAllGroupSizesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected