restruct 1

This commit is contained in:
ada-dmitry
2023-09-11 17:15:34 +03:00
parent 096d8dea1a
commit 6809e2ef5f
67 changed files with 0 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#define N 10
#define T 20
typedef struct Node
{
int size;
struct Node *next;
} node;
typedef struct nodepointer
{
struct nodepointer *next;
struct Node **address;
} pointer;
void pr(node *tmp);
node *add_head(node *head, int hh);
node *del_head(node *head);
pointer *add_head_address(pointer *head, node **address);
int length(node *list);
node *sort(node *head);
node *get(node *list, int n);
void swap(node *a, node *b);
void hanoi_tower(int n, node **head_from, node **head_to, node **head_aux, pointer *adresses);
void printftof(pointer *adresses);
node *printextra(node *head, int len, int i);
void disk(int size);
void prcount(char s, int n);