Skip to content

Conversation

@lkhyun
Copy link
Contributor

@lkhyun lkhyun commented Sep 11, 2025

🧷 문제 링크

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

🧭 풀이 시간

25분

👀 체감 난이도

✏️ 문제 설명

고층 건물들이 줄지어서 있음. 지붕과 지붕을 이었을때, 사이에 고층건물이 접하거나 겹치면 서로 못봄. 가장 많은 건물을 볼 수 있는 건물이 보는 건물의 수를 출력

🔍 풀이 방법

수학, 브루트포스
모든 건물 쌍에 대해 기울기 구하고 그 사이에 있는 건물들이 겹치는지만 파악하면됨.

⏳ 회고

모든 값이 max를 구하는지 사용되었는지와 double 형변환 잘해주는거 조심
기초적인 것을 놓쳐서 오래걸렸다.

@lkhyun lkhyun self-assigned this Sep 11, 2025
@lkhyun lkhyun added the success 👍 해설을 보지 않고 풀었을 때 label Sep 11, 2025
@ShinHeeEul ShinHeeEul merged commit 048cd61 into main Sep 11, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

success 👍 해설을 보지 않고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants