Je cherche un algorithme pour ce problème
Fermé
nafnaf
-
7 mars 2021 à 09:49
Whismeril Messages postés 19028 Date d'inscription mardi 11 mars 2003 Statut Non membre Dernière intervention 24 avril 2024 - 7 mars 2021 à 13:59
Whismeril Messages postés 19028 Date d'inscription mardi 11 mars 2003 Statut Non membre Dernière intervention 24 avril 2024 - 7 mars 2021 à 13:59
A voir également:
- Je cherche un algorithme pour ce problème
- Logiciel algorithme gratuit - Télécharger - Édition & Programmation
- Ecrire un algorithme qui permet de resoudre ax²+bx+c=0 - Forum Programmation
- Tester un algorithme en ligne - Forum Programmation
- Algorithme maximum de 3 nombres ✓ - Forum Algorithmes / Méthodes
- Code ascii algorithme - Guide
1 réponse
Whismeril
Messages postés
19028
Date d'inscription
mardi 11 mars 2003
Statut
Non membre
Dernière intervention
24 avril 2024
931
7 mars 2021 à 13:59
7 mars 2021 à 13:59
Bonjour
je ne comprends pas ton exemple u'1+u'2+...+u'k<=u'k+1
1 1 => 1 + 1 = 2; 2 <= 1 + 1 OK
1 1 2 => 1 + 1 + 2 = 4; 4 n'est pas <= 2 + 1 pas OK
Dès le 3 eme nombre ça ne correspond pas à ce que tu cherches
je ne comprends pas ton exemple u'1+u'2+...+u'k<=u'k+1
1 1 => 1 + 1 = 2; 2 <= 1 + 1 OK
1 1 2 => 1 + 1 + 2 = 4; 4 n'est pas <= 2 + 1 pas OK
Dès le 3 eme nombre ça ne correspond pas à ce que tu cherches