-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1주차 Assignment - 이예은 #6
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
과제 통과
주석으로 코드에 대한 설명을 달며 코딩하신 걸 보니 전반적으로 알고리즘에 대해 차근차근 생각하며 작성하신 코드인 것 같습니다. 지금은 입력을 위해 멋사에서 배운 Scanner
클래스를 주요 사용하신 것 같은데, 추후 알고리즘 공부를 하실 때는 BufferedReader
를 사용하시는 것이 더욱 효율적일 때가 많습니다! 나중에 공부하시며 기회가 되신다면 오늘 풀어본 문제들을 BufferedReader
를 사용해 발전시켜 보시는 것도 좋을 것 같아요 ✨
if(M < 0) { | ||
H -= 1; | ||
M += 60; | ||
} | ||
|
||
if(H < 0) | ||
H = 23; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
피드백
조금 더 효율적인 알고리즘을 고민해보는게 좋을 것 같아요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
피드백 확인했습니다 ! 감사합니다 :)
|
||
for(int i = 1; i <= N; i++) { | ||
for(int k = 1; k <= N-i; k++) { | ||
System.out.print(" "); // 왼쪽에 공백 넣기 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
왼쪽에 공백이 없으면 오른쪽으로 정렬되게 출력 안됩니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아하 ! 감사합니다 !!
Description
<!— 구현 및 작업 내용을 적어주세요 —>
Important content
<!— 주의 깊게 봐줬으면 하는 부분을 적어주세요 —>
Question
<!— 궁금한 점을 적어주세요 —>
Reference
<!— 참고한 레퍼런스가 있다면 공유해 주세요 —>