daily pastebin goal
56%
SHARE
TWEET

Untitled

a guest Mar 24th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void sort(List* list)
  2. {
  3.     if (isEmpty(list))
  4.         printf("Список пуст");
  5.     int size = getSize(list);
  6.     if (size == 1)
  7.         printf("Список из 1 элемента");
  8.     else if (size > 1)
  9.     {
  10.         Node* i = list->head;
  11.         for (int k = 0; k <= size; k++)
  12.         {
  13.             while (!isLast(i))
  14.             {
  15.                 bool p = sort_two(i);
  16.                 i = i->next;
  17.             }
  18.             i = list->head;
  19.         }
  20.     }
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top