mirror of
https://github.com/ada-dmitry/prog.l_ada.git
synced 2026-09-24 09:10:14 +00:00
19 lines
349 B
C
19 lines
349 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <time.h>
|
|
|
|
#define COUNT 3
|
|
#define LEN 3
|
|
|
|
typedef struct Node {
|
|
char name[LEN];
|
|
struct Node* next;
|
|
struct Node* prev;
|
|
} Node;
|
|
|
|
void node_print(Node* n);
|
|
Node* add_tail(Node* n, char s[]);
|
|
Node get(Node* node, int n);
|
|
Node* xor_find(Node* n1, Node* n2);
|
|
int len(Node* n); |