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

Merge branch 'master' into 'master'

value_key_t to key_value_t

See merge request algorithmique/cours!64
parents 796bd802 ddba9ebb
Branches
No related tags found
No related merge requests found
...@@ -137,7 +137,7 @@ Poster le résultat sur matrix. ...@@ -137,7 +137,7 @@ Poster le résultat sur matrix.
. . . . . .
```C ```C
bool binary_get1(int n, value_key_t table[n], key_t key, value_t *value) { bool binary_get1(int n, key_value_t table[n], key_t key, value_t *value) {
int top = n - 1, bottom = 0; int top = n - 1, bottom = 0;
while (top > bottom) { while (top > bottom) {
int middle = (top + bottom) / 2; int middle = (top + bottom) / 2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment