Skip to content

[20250901] BOJ / G3 / 육각 보드/ 한종욱#790

Merged
ShinHeeEul merged 1 commit intomainfrom
Ukj0ng
Sep 1, 2025
Merged

[20250901] BOJ / G3 / 육각 보드/ 한종욱#790
ShinHeeEul merged 1 commit intomainfrom
Ukj0ng

Conversation

@Ukj0ng
Copy link
Contributor

@Ukj0ng Ukj0ng commented Sep 1, 2025

🧷 문제 링크

https://www.acmicpc.net/problem/12946

🧭 풀이 시간

540분

👀 체감 난이도

✏️ 문제 설명

육각 보드에 겹치지 않게 색을 몇 개나 칠할 수 있을까요?

🔍 풀이 방법

이분 그래프로 풀다가, 두 개로 색칠 못하면 3을 리턴
육각형에서는 최대가 3이래요. 저는 몰랐어요. 그래서 너무 어려웠어요.

⏳ 회고

arr[nx][ny] = 3 - arr[current[0]][current[1]];라는 아이디어가 좋았다.

@ShinHeeEul ShinHeeEul merged commit 93007af into main Sep 1, 2025
1 check passed
@oncsr
Copy link
Contributor

oncsr commented Sep 1, 2025

540분이요?

@Ukj0ng
Copy link
Contributor Author

Ukj0ng commented Sep 1, 2025

540분이요?

다시 태어나도 못 풀듯......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants