Skip to content
Snippets Groups Projects

Update position loop

Closed gaspard.legouic requested to merge (removed):master into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -367,7 +367,7 @@ int depth(node *qt) {
```C
noeud position(li, co, arbre)
d = profondeur(arbre);
tant_que (d > 1)
tant_que (d > 0)
index = 2 * ((li % 2^d) / 2^(d-1)) +
(col % 2^d) / 2^(d-1)
arbre = arbre.enfant[index]
Loading