Long time no see

This commit is contained in:
2026-02-21 10:47:00 +07:00
parent 0d54fe176e
commit b7df98a55c
198 changed files with 3249 additions and 1 deletions
+26
View File
@@ -0,0 +1,26 @@
#ifndef HEAD
#define HEAD
#include <stdio.h>
#include <stdlib.h>
//#include <sys/time.h>
#define AVG_TIME_LOOPS 5000
#define AVG_RAND_MAX 10000000
#define MILLION 1000000
double wtime();
unsigned long long rdtsc();
int get_rand(int min, int max);
void fill_rand(int *arr, int n);
void merge_sort(int *arr, int n);
int linear_Search(int *arr, int n, int key);
int exponential_Search(int *arr, int n, int key);
int binary_Search(int *arr, int n, int key);
void run_exp1();
void run_exp2();
#endif