8000 16920 확장 게임 by zero2vec · Pull Request #67 · encrypted-def/basic-algo-lecture · GitHub
[go: up one dir, main page]

Skip to content

16920 확장 게임 #67

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

Merged
merged 5 commits into from
Jul 20, 2021
Merged

16920 확장 게임 #67

merged 5 commits into from
Jul 20, 2021

Conversation

zero2vec
Copy link
Contributor

풀리퀘스트 처음해봐서 애먹었네요 ㅜㅜ

@encrypted-def
Copy link
Owner

첫 기여 감사합니다!

  1. pair<pair<int,int>,int> 보다는 tuple<int,int,int>가 나아보입니다.
  2. 자바와는 달리 19, 20line의 코드가 필요없습니다.
  3. 지금처럼 nextq를 써도 상관은 없지만 큐에 원소는 거리순으로 들어간다는 성질을 생각해보면 nextq를 이용하지 않고 q[i]를 계속 이어서 쓰는 방법으로도 구현할 수 있습니다.

코드가 구조적으로 잘 짜여있어서 크게 건드릴 것 없이 편하게 작업했네요. 감사합니다!

@encrypted-def encrypted-def merged commit 18dc419 into encrypted-def:master Jul 20, 2021
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.

2 participants
0