Spaces:
Running
Running
Update code.txt
Browse files
code.txt
CHANGED
|
@@ -612,7 +612,7 @@ if moyenne(5, 10, 15) == 10:
|
|
| 612 |
else :
|
| 613 |
c+="0"
|
| 614 |
;;;
|
| 615 |
-
recheche arbre binaire de recherche
|
| 616 |
;;;
|
| 617 |
2
|
| 618 |
;;;
|
|
@@ -680,7 +680,7 @@ if not recherche_abr(racine_r,42):
|
|
| 680 |
else :
|
| 681 |
c += "0"
|
| 682 |
;;;
|
| 683 |
-
suite fibonacci récursive
|
| 684 |
;;;
|
| 685 |
3
|
| 686 |
;;;
|
|
@@ -1329,7 +1329,7 @@ if binaire(0) == '0' :
|
|
| 1329 |
else :
|
| 1330 |
c+="0"
|
| 1331 |
;;;
|
| 1332 |
-
recherche dichotomique récursive
|
| 1333 |
;;;
|
| 1334 |
3
|
| 1335 |
;;;
|
|
@@ -1412,7 +1412,7 @@ if round(moyenne("Durand", resultats)) == 9:
|
|
| 1412 |
else :
|
| 1413 |
c+="0"
|
| 1414 |
;;;
|
| 1415 |
-
parcours suffixe d'un arbre binaire
|
| 1416 |
;;;
|
| 1417 |
3
|
| 1418 |
;;;
|
|
@@ -1475,7 +1475,7 @@ if parcours_suffixe(racine) == ['E', 'C', 'D', 'B', 'I', 'G', 'J', 'H', 'F', 'A'
|
|
| 1475 |
else :
|
| 1476 |
c += "0"
|
| 1477 |
;;;
|
| 1478 |
-
|
| 1479 |
;;;
|
| 1480 |
4
|
| 1481 |
;;;
|
|
@@ -1538,7 +1538,7 @@ if un_sur_deux([54, 5, 7, 14, 26, 54, 32]) == [54, 7, 26,32]:
|
|
| 1538 |
else :
|
| 1539 |
c += "0"
|
| 1540 |
;;;
|
| 1541 |
-
plus grande somme
|
| 1542 |
;;;
|
| 1543 |
4
|
| 1544 |
;;;
|
|
@@ -1588,7 +1588,7 @@ if somme_max([-3,-2,-1,-4]) == -1 :
|
|
| 1588 |
else :
|
| 1589 |
c+="0"
|
| 1590 |
;;;
|
| 1591 |
-
taille d'un arbre binaire
|
| 1592 |
;;;
|
| 1593 |
2
|
| 1594 |
;;;
|
|
@@ -1707,7 +1707,7 @@ if eleves_du_mois([],[]) == (0, []):
|
|
| 1707 |
else :
|
| 1708 |
c+="0"
|
| 1709 |
;;;
|
| 1710 |
-
parcours préfixe d'un arbre binaire
|
| 1711 |
;;;
|
| 1712 |
3
|
| 1713 |
;;;
|
|
@@ -1815,7 +1815,7 @@ if not dichotomie([15, 16, 18, 19, 23, 24, 28, 29, 31, 33],27):
|
|
| 1815 |
else :
|
| 1816 |
c+="0"
|
| 1817 |
;;;
|
| 1818 |
-
parcours infixe d'un arbre binaire
|
| 1819 |
;;;
|
| 1820 |
3
|
| 1821 |
;;;
|
|
@@ -1930,7 +1930,7 @@ if not est_palindrome('NSI'):
|
|
| 1930 |
else :
|
| 1931 |
c+="0"
|
| 1932 |
;;;
|
| 1933 |
-
hauteur d'un arbre binaire
|
| 1934 |
;;;
|
| 1935 |
2
|
| 1936 |
;;;
|
|
@@ -2024,7 +2024,7 @@ if dico_tab({}) == []:
|
|
| 2024 |
else :
|
| 2025 |
c += "0"
|
| 2026 |
;;;
|
| 2027 |
-
prix article
|
| 2028 |
;;;
|
| 2029 |
2
|
| 2030 |
;;;
|
|
@@ -2147,7 +2147,7 @@ if liste_moyenne(notes) == [('Martine', 11.5), ('Anne-Marie', 14.0), ('Patrick',
|
|
| 2147 |
else :
|
| 2148 |
c += "0"
|
| 2149 |
;;;
|
| 2150 |
-
calculatrice RPN
|
| 2151 |
;;;
|
| 2152 |
3
|
| 2153 |
;;;
|
|
@@ -2558,7 +2558,7 @@ if est_premier(11):
|
|
| 2558 |
else:
|
| 2559 |
c += "0"
|
| 2560 |
;;;
|
| 2561 |
-
somme des éléments d'un tableau
|
| 2562 |
;;;
|
| 2563 |
4
|
| 2564 |
;;;
|
|
@@ -2796,7 +2796,7 @@ if somme_pairs([]) == 0:
|
|
| 2796 |
else:
|
| 2797 |
c += "0"
|
| 2798 |
;;;
|
| 2799 |
-
est un palindrome bis
|
| 2800 |
;;;
|
| 2801 |
3
|
| 2802 |
;;;
|
|
|
|
| 612 |
else :
|
| 613 |
c+="0"
|
| 614 |
;;;
|
| 615 |
+
(T) recheche arbre binaire de recherche
|
| 616 |
;;;
|
| 617 |
2
|
| 618 |
;;;
|
|
|
|
| 680 |
else :
|
| 681 |
c += "0"
|
| 682 |
;;;
|
| 683 |
+
(T) suite fibonacci récursive
|
| 684 |
;;;
|
| 685 |
3
|
| 686 |
;;;
|
|
|
|
| 1329 |
else :
|
| 1330 |
c+="0"
|
| 1331 |
;;;
|
| 1332 |
+
(T) recherche dichotomique récursive
|
| 1333 |
;;;
|
| 1334 |
3
|
| 1335 |
;;;
|
|
|
|
| 1412 |
else :
|
| 1413 |
c+="0"
|
| 1414 |
;;;
|
| 1415 |
+
(T) parcours suffixe d'un arbre binaire
|
| 1416 |
;;;
|
| 1417 |
3
|
| 1418 |
;;;
|
|
|
|
| 1475 |
else :
|
| 1476 |
c += "0"
|
| 1477 |
;;;
|
| 1478 |
+
nombre de boites
|
| 1479 |
;;;
|
| 1480 |
4
|
| 1481 |
;;;
|
|
|
|
| 1538 |
else :
|
| 1539 |
c += "0"
|
| 1540 |
;;;
|
| 1541 |
+
(T) plus grande somme
|
| 1542 |
;;;
|
| 1543 |
4
|
| 1544 |
;;;
|
|
|
|
| 1588 |
else :
|
| 1589 |
c+="0"
|
| 1590 |
;;;
|
| 1591 |
+
(T) taille d'un arbre binaire
|
| 1592 |
;;;
|
| 1593 |
2
|
| 1594 |
;;;
|
|
|
|
| 1707 |
else :
|
| 1708 |
c+="0"
|
| 1709 |
;;;
|
| 1710 |
+
(T) parcours préfixe d'un arbre binaire
|
| 1711 |
;;;
|
| 1712 |
3
|
| 1713 |
;;;
|
|
|
|
| 1815 |
else :
|
| 1816 |
c+="0"
|
| 1817 |
;;;
|
| 1818 |
+
(T) parcours infixe d'un arbre binaire
|
| 1819 |
;;;
|
| 1820 |
3
|
| 1821 |
;;;
|
|
|
|
| 1930 |
else :
|
| 1931 |
c+="0"
|
| 1932 |
;;;
|
| 1933 |
+
(T) hauteur d'un arbre binaire
|
| 1934 |
;;;
|
| 1935 |
2
|
| 1936 |
;;;
|
|
|
|
| 2024 |
else :
|
| 2025 |
c += "0"
|
| 2026 |
;;;
|
| 2027 |
+
prix article
|
| 2028 |
;;;
|
| 2029 |
2
|
| 2030 |
;;;
|
|
|
|
| 2147 |
else :
|
| 2148 |
c += "0"
|
| 2149 |
;;;
|
| 2150 |
+
(T) calculatrice RPN
|
| 2151 |
;;;
|
| 2152 |
3
|
| 2153 |
;;;
|
|
|
|
| 2558 |
else:
|
| 2559 |
c += "0"
|
| 2560 |
;;;
|
| 2561 |
+
(T) somme des éléments d'un tableau
|
| 2562 |
;;;
|
| 2563 |
4
|
| 2564 |
;;;
|
|
|
|
| 2796 |
else:
|
| 2797 |
c += "0"
|
| 2798 |
;;;
|
| 2799 |
+
(T) est un palindrome bis
|
| 2800 |
;;;
|
| 2801 |
3
|
| 2802 |
;;;
|