Skip to content
Snippets Groups Projects
Verified Commit d502f491 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

maj slide suivantes..

parent 2b4d2e83
No related branches found
No related tags found
No related merge requests found
Pipeline #31919 passed
...@@ -371,7 +371,7 @@ int depth(node *qt) { ...@@ -371,7 +371,7 @@ int depth(node *qt) {
```C ```C
noeud position(li, co, arbre) noeud position(li, co, arbre)
d = profondeur(arbre) - 1; d = profondeur(arbre) - 1
tant_que (d >= 1) tant_que (d >= 1)
index = 2 * ((li % 2^d) / 2^(d-1)) index = 2 * ((li % 2^d) / 2^(d-1))
+ (col % 2^d) / 2^(d-1) + (col % 2^d) / 2^(d-1)
...@@ -393,7 +393,7 @@ noeud position(li, co, arbre) ...@@ -393,7 +393,7 @@ noeud position(li, co, arbre)
```C ```C
noeud position(li, co, arbre) noeud position(li, co, arbre)
d = profondeur(arbre); d = profondeur(arbre) - 1
tant_que (d >= 1) tant_que (d >= 1)
index = 2 * ((li % 2^d) / 2^(d-1)) + index = 2 * ((li % 2^d) / 2^(d-1)) +
(col % 2^d) / 2^(d-1) (col % 2^d) / 2^(d-1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment