Aide pour un algorithme
lamalice31
Messages postés
1
Date d'inscription
Statut
Membre
Dernière intervention
-
Thorak83 Messages postés 1051 Date d'inscription Statut Membre Dernière intervention -
Thorak83 Messages postés 1051 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
Je me casse la tête sur un algorithme qui serait capable de faire le calcul :
Dim tab(3,3) As Integer 'tableau déjà rempli
tot1 = tab(0,0) + tab(1,1) + tab(2,2) + tab(3,3)
tot2 = tab(0,0) + tab(1,1) + tab(3,2) + tab(2,3)
...
en gros
totn = tab(a,0) + tab(b,1) + tab(c,2) + tab(d,3)
avec a != b != c != d
Ça fait un moment que je suis dessus j'aurais bien besoin d'aide ...
Merci !!
Je me casse la tête sur un algorithme qui serait capable de faire le calcul :
Dim tab(3,3) As Integer 'tableau déjà rempli
tot1 = tab(0,0) + tab(1,1) + tab(2,2) + tab(3,3)
tot2 = tab(0,0) + tab(1,1) + tab(3,2) + tab(2,3)
...
en gros
totn = tab(a,0) + tab(b,1) + tab(c,2) + tab(d,3)
avec a != b != c != d
Ça fait un moment que je suis dessus j'aurais bien besoin d'aide ...
Merci !!
A voir également:
- Aide pour un algorithme
- Logiciel algorithme euromillion - Télécharger - Loisirs créatifs
- Logiciel algorithme gratuit - Télécharger - Édition & Programmation
- Algorithme euromillion excel gratuit - Forum Algorithmes / Méthodes
- Algorithme ajout rapide snapchat - Forum Snapchat
- Ajout rapide snap - Forum Snapchat