Skip to content

Сортированный список#12

Open
EStarikov wants to merge 8 commits intomainfrom
sorted_list
Open

Сортированный список#12
EStarikov wants to merge 8 commits intomainfrom
sorted_list

Conversation

@EStarikov
Copy link
Owner

No description provided.

@EStarikov EStarikov requested a review from chernishev October 28, 2025 20:08
src/sortedlist.c Outdated
}

void push(List* l, int a) {
Element* new_element = (Element*)malloc(sizeof(Element));
Copy link
Collaborator

Choose a reason for hiding this comment

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

все системные функции надо проверять на возвращаемое значение; поправить во всей программе

src/sortedlist.c Outdated
}
}

void deleting(List* l, int a) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

src/sortedlist.c Outdated
push(&mylist, value);
}

if (c == 3) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

странный порядок: 1, 3, 2

Copy link
Collaborator

@chernishev chernishev left a comment

Choose a reason for hiding this comment

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

5/6 замечания в комментариях

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.

3 participants