added xor

This commit is contained in:
ada-dmitry
2023-04-17 21:29:57 +03:00
parent b8727b3820
commit ea4d0db0f1
13 changed files with 294 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#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);