mirror of
https://github.com/ada-dmitry/prog.l_ada.git
synced 2026-09-24 01:00:15 +00:00
added xor
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user