repositories
/
Algorithmic_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TP6 n ary tree: add the corrections
[Algorithmic_C.git]
/
TP6
/
hachage
/
chainage
/
hachage_chainage.c
diff --git
a/TP6/hachage/chainage/hachage_chainage.c
b/TP6/hachage/chainage/hachage_chainage.c
index 8acb0a8d1c893a1223e97aaf3f94456635a5c423..e7afcbea998938c5644654220e0d9c3e561d4265 100644
(file)
--- a/
TP6/hachage/chainage/hachage_chainage.c
+++ b/
TP6/hachage/chainage/hachage_chainage.c
@@
-21,11
+21,10
@@
typedef struct {
int h(element x)
{
int h(element x)
{
+/* "mauvaise" fonction de hachage - juste pour tester le programme */
return x % M;
}
return x % M;
}
-/* "mauvaise" fonction de hachage - juste pour tester le programme */
-
t_table init_table()
{
t_table t;
t_table init_table()
{
t_table t;