Skip to content

add control_work#27

Open
Quark1111 wants to merge 1 commit intomainfrom
control_work
Open

add control_work#27
Quark1111 wants to merge 1 commit intomainfrom
control_work

Conversation

@Quark1111
Copy link
Owner

No description provided.

@Quark1111 Quark1111 requested a review from chernishev December 12, 2025 14:38
Copy link

@Godrik0 Godrik0 left a comment

Choose a reason for hiding this comment

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

  • -8 баллов за merge
  • +2 балла за decreaseKey
    Итого 24/30

Comment on lines +46 to +49
child.parent = parent
child.sibling = parent.child
parent.child = child
parent.degree += 1
Copy link

Choose a reason for hiding this comment

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

У вас нет объявления child и parent, кажется тут должны быть next_node и current

Comment on lines +55 to +59
next_node.parent = current
current.sibling = next_node.child
next_node.child = current
next_node.degree += 1
current = next_node
Copy link

Choose a reason for hiding this comment

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

Тут тоже что-то странное, next_node.parent = current и next_node.child = current

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