-
Notifications
You must be signed in to change notification settings - Fork 4
[7주차] 이지영 #91
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
[7주차] 이지영 #91
Conversation
CodeTree/2019-2020년/JY_시공의_돌풍.java
Outdated
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.
ㅠㅠㅠㅠ 흑,,,,, 슬퍼요,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 나중에 기출 다시 풀어보긴 해야겠어요!!
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.
마자요,,,,! 처음엔 반대방햐으로 하면되겠다해서 하나만 선언했는데, 하다보니 규칙이 없더군요,,, ㅎㅎㅎㅎ 더 깔끔하게 푸는 방법을 연습하겠습니다~
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.
인덱스로 전달하는 방식이 젤 깔끔한 것 같아요👍🏻
cc213a1
to
3784e7f
Compare
dfs(tIdx+1, sIdx, tree, skill, cnt); | ||
} | ||
} | ||
} No newline at end of file |
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.
dfs로 엄청 깔끔하게 푸신것 같습니다!!! 👍
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.
정말 정석적인 풀이같아요!! 멋있습니다!👍
BOJ/20001-25000번/JY_21939.java
Outdated
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.
오호 번호값에 따른 난이도를 배열로 관리하면 빠르고 깔끔하군요!!!
BOJ/20001-25000번/JY_21939.java
Outdated
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.
동일한 번호처리는, 난이도 배열값이랑 같은걸 찾으면 되군요! 저랑 우선순위큐 2개 이용했다는 개념은 동일한데 배열을 통해서 더 깔끔하게 푸신것 같아요!!!👍 깔끔하게 생각하기 배워갑니다😎
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.
우선순위 큐는 수빈님 코드가 더 깔끔한것 같습니다! 합쳐봐요~ ㅋㅋ 😄
No description provided.