A flower is defined as any 8-connected component (meaning ...) which consists of characters from the set {’|’, ’/’, ’\’, ’-’, ’@’}, and which is also connected to the ground.
즉, 꽃은 {’|’, ’/’, ’\’, ’-’, ’@’} 로 이루어진 8개의 연결된 개체이고, 땅하고도 연결되어야 한다고 나와있는데요,
nosqeil24 8년 전
11167번 문제 설명을 보면, 사진에서 꽃을 찾는 규칙은
A flower is defined as any 8-connected component (meaning ...) which consists of characters from the set {’|’, ’/’, ’\’, ’-’, ’@’}, and which is also connected to the ground.
즉, 꽃은 {’|’, ’/’, ’\’, ’-’, ’@’} 로 이루어진 8개의 연결된 개체이고, 땅하고도 연결되어야 한다고 나와있는데요,
예제 입력에서 어떻게 꽃이 5개가 나오는지 이해가 가지 않습니다.
문제 설명에 따르면 꽃이 4개여야 하는것 같은데, 제가 문제이해를 잘못한건가요?