S

@salomee

hachage exam

C
2 years ago
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <stdbool.h> #define LONGUEUR_MAX_MOT 30 // Longueur maximale d'un mot #define TAILLE_HASH 37987 // Un nombre premier pour la taille de la table #define BASE 128 // La base pour le calcul de hachage

Kruskal

C
2 years ago
#include <stdio.h> #include <stdlib.h> //----------------------------------------------Structure Kruskal ------------------------------------------------------ // Structures adaptées à partir de votre code typedef struct arete { int sommet1;

sudoku

C
2 years ago
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #define N 9 // Taille du Sudoku int sudoku_original[N][N] = { {8, 0, 4, 9, 0, 3, 0, 7, 1}, {6, 3, 5, 8, 0, 7, 0, 2, 4},

karger

C
2 years ago
#include <stdlib.h> #include <stdio.h> #include <time.h> //--------------------------------------Structures Karger---------------------------------------------------

djikistra bellmanford et prim kruskal

C
2 years ago
#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #define INFINITY 1000000 // or set e.g. INFINITY = INT_MAX - max_weight_graph(G); // ----------------------------------definition des structures-----------------------------------------

exam

C
2 years ago
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <stdbool.h> #define LONGUEUR_MAX_MOT 30 // Longueur maximale d'un mot #define TAILLE_HASH 37987 // Un nombre premier pour la taille de la table #define BASE 128 // La base pour le calcul de hachage

hachage

C
2 years ago
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <stdbool.h> #define LONGUEUR_MAX_MOT 30 // Longueur maximale d'un mot #define TAILLE_HASH 37987 // Un nombre premier pour la taille de la table #define BASE 128 // La base pour le calcul de hachage

largeur

C
2 years ago
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> // Definition des structures // fic file typedef struct _cellule // Définit une structure pour une cellule de la file

Parcours prof

C
2 years ago
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> // Définition des structures typedef struct { int nb_sommets;

Liste adjacence graphe

C
2 years ago
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> // Definition des structures // Définition d'une structure pour un nœud dans la liste des successeurs.

graphe non oriente et oriente

C
2 years ago
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> // Definition des structures

Menu graphe

C
2 years ago
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> // Definition des structures

TP7 algo2

C
2 years ago
#include <stdio.h> #include <string.h> #include <math.h> unsigned long fonction_hachage_modulo(char mot[100], int taille); unsigned long fonction_hachage_modulo(char mot[100], int taille)