Skip to content

[2024-08-06] gwangseok #189 - #192

Merged
c0natus merged 1 commit into
mainfrom
gwangseok-#189
Aug 6, 2024
Merged

c0natus merged 1 commit into
mainfrom
gwangseok-#189

Conversation

@c0natus

@c0natus c0natus commented Aug 5, 2024

Copy link
Copy Markdown
Collaborator

PR Summary

<풀이 시간>
40분

<문제 회고>

'각 자리수마다 5이하이면 아래로 이동 6이상이면 위로 이동 후 10 아래로 이동'
이라는 규칙을 발견했다.
하지만 통과하지 못하였다.
분기문에서 예외가 일어날 것 같아 고민했다.
5, 55, 555, 5555를 생각해보면서 반례를 발견하였다.

Case Complexity
테스트 1 〉 통과 (0.01ms, 10.2MB)
테스트 2 〉 통과 (0.00ms, 10.4MB)
테스트 3 〉 통과 (0.00ms, 10.2MB)
테스트 4 〉 통과 (0.01ms, 10.2MB)
테스트 5 〉 통과 (0.01ms, 10.2MB)
테스트 6 〉 통과 (0.00ms, 10.2MB)
테스트 7 〉 통과 (0.01ms, 10.2MB)
테스트 8 〉 통과 (0.01ms, 10.2MB)
테스트 9 〉 통과 (0.01ms, 10.4MB)
테스트 10 〉 통과 (0.01ms, 10.2MB)
테스트 11 〉 통과 (0.00ms, 10.1MB)
테스트 12 〉 통과 (0.01ms, 10.4MB)
테스트 13 〉 통과 (0.00ms, 10.2MB)

@c0natus c0natus self-assigned this Aug 5, 2024
@c0natus c0natus linked an issue Aug 5, 2024 that may be closed by this pull request

@HeewonKwak HeewonKwak left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

상승과 하강 상황을 각각 함수로 분리하여 구현하여 상황을 쉽게 이해했습니다.

@blaire-pi blaire-pi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

풀이 방법이 유사해서 이해하기 쉬웠습니다

@byeol3325 byeol3325 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저랑 똑같이 푸신거 같아요 수고하셨습니다.

@c0natus
c0natus merged commit 91f9c0e into main Aug 6, 2024
@c0natus
c0natus deleted the gwangseok-#189 branch August 6, 2024 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[2024-08-06]: 마법의 엘리베이터

5 participants