Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[25주차] 배수빈 #338

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
KodaHye merged 4 commits into main from xubin
Mar 8, 2025
Merged

[25주차] 배수빈 #338

KodaHye merged 4 commits into main from xubin
Mar 8, 2025

Conversation

Copy link
Contributor

@baexxbin baexxbin commented Mar 4, 2025

No description provided.


for (Node nxt : adj.get(node)) {
if (parents[nxt.idx]) continue; // 부모는 패쓰
cnt += Math.min(nxt.val, dfs(nxt.idx));
Copy link
Contributor

@jewan100 jewan100 Mar 6, 2025

Choose a reason for hiding this comment

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

최솟값을 이렇게 갱신해도되는군요
저는 현재값을 결정하는 방식으로 했는데 이거는 다음 값을 결정해주는 것 같아서 하나 배워갑니돠~

@KodaHye KodaHye merged commit 0d0c36f into main Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
1 more reviewer

@jewan100 jewan100 jewan100 approved these changes

Reviewers whose approvals may not affect merge requirements
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /