Skip to content

실버1 / 60분 / X#322

Open
jcdororo wants to merge 1 commit intomainfrom
뒤집기2_주지찬

Hidden character warning

The head ref may contain hidden characters: "\ub4a4\uc9d1\uae302_\uc8fc\uc9c0\ucc2c"
Open

실버1 / 60분 / X#322
jcdororo wants to merge 1 commit intomainfrom
뒤집기2_주지찬

Conversation

@jcdororo
Copy link
Collaborator

@jcdororo jcdororo commented Feb 18, 2024

⭐️ 문제에서 주로 사용한 알고리즘

그리디 알고리

대략적인 코드 설명

오른쪽 아래부터 순회하며 동전이 뒤집어지지 않은곳을 찾아 뒤집는다.

코드리뷰시 요청사항

image

코드를 살펴보면 결과값이 [[0.0], [0,0]]이 되는데 [[1,1],[1,1]]이 되어야하는것 아닌가요..?

35번째 줄에 if arr[i][j] == 0: 로 했다가
if arr[i][j]: 로 변경했는데..

@github-actions github-actions bot requested a review from 10o0o February 18, 2024 10:11
@jcdororo jcdororo changed the title Create 뒤집기 II_주지찬.py 실버1 / 60분 / X Feb 18, 2024
@Stendhalsynd Stendhalsynd force-pushed the main branch 2 times, most recently from 53fe4e9 to c3e5389 Compare February 18, 2024 10:52
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.

1 participant