Skip to content

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

Open
EStarikov wants to merge 8 commits into
mainfrom
sorted_list
Open

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

Conversation

@EStarikov

Copy link
Copy Markdown
Owner

No description provided.

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

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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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

Comment thread src/sortedlist.c Outdated
}
}

void deleting(List* l, int a) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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

if (c == 3) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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

@chernishev chernishev left a comment

Copy link
Copy Markdown
Collaborator

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