AfanasevGad7

This is a task for our favourite professor
git clone git://git.stellar-nexus.ru/AfanasevGad7
Log | Files | Refs | README

commit 536fdf4640716bb082519e71dd1bde4802ef1d27
parent 761eeba0b7c121bc8f57706770446634a4a4599b
Author: Plat <plat@stellar-nexus.ru>
Date:   Fri,  7 Nov 2025 09:35:20 +0000

Fixed includes in avl.c

Diffstat:
Mavl.c | 17++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/avl.c b/avl.c @@ -1,15 +1,18 @@ -#include <iostream> +#include <ctype.h> +#include <limits.h> +#include <stdio.h> +#include <stdint.h> +#include <stdlib.h> +#include <time.h> +#include "tree.h" -struct Node { - int val; - Node* left; - Node* right; -}; +#include "config.h" +typedef struct Node Node; -Node * +inline Node * init(int val) { Node *n = malloc(sizeof(Node));