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

corrected types

parent f6f2995f
Branches
No related tags found
No related merge requests found
Pipeline #35894 passed
---
title: "Tris, et complexité"
title: "Tris et complexité"
date: "2024-11-18"
header-includes: |
\usepackage{xcolor}
......@@ -184,7 +184,7 @@ void radix_sort(int size,int tab[size]) {
```python
rien decaler(entier taille, entier tab[taille], entier val):
pour i de 0 à taille-1:
taille[i] -= val
tab[i] -= val
```
. . .
......@@ -639,7 +639,7 @@ rien tri_a_bulles(entier tableau[])
trié = vrai
pour j de 0 à i-1:
si (tableau[j] > tableau[j+1])
échanger(array[j], array[j+1])
échanger(tableau[j], tableau[j+1])
trié = faux
si trié
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment