|
Rapport cryptarithm 1.0
Dev-linux
|
Code d'un codingamer. More...
#include <stdlib.h>#include <stdio.h>#include <string.h>
Go to the source code of this file.
Functions | |
| int | cmp (const void *a, const void *b) |
| trie les lettres alphabétiquement More... | |
| int | is_initial (char c) |
| trie les lettres alphabétiquement More... | |
| void | test () |
| vérifie si l'addition est correcte More... | |
| void | assign (int i) |
| teste chaque combinaison avant de trouver la bonne More... | |
| int | main () |
Variables | |
| int | N |
| int | letters |
| int | digit_used [10] |
| int | letter_to_digit [10] |
| char | word [6][11] |
| char | letter [11] |
| char * | p |
| char | line [6][11] |
| void assign | ( | int | i | ) |
teste chaque combinaison avant de trouver la bonne
| i | un entier naturel |
Definition at line 70 of file other_code.c.


| int cmp | ( | const void * | a, |
| const void * | b | ||
| ) |
trie les lettres alphabétiquement
| a | de type const void * |
| b | de type const void * |
Definition at line 25 of file other_code.c.

| int is_initial | ( | char | c | ) |
trie les lettres alphabétiquement
| c | un caractère |
Definition at line 35 of file other_code.c.

| int main | ( | ) |
| void test | ( | ) |
vérifie si l'addition est correcte
Definition at line 47 of file other_code.c.

| int digit_used[10] |
Definition at line 14 of file other_code.c.
| char letter[11] |
Definition at line 15 of file other_code.c.
| int letter_to_digit[10] |
Definition at line 14 of file other_code.c.
| int letters |
Definition at line 14 of file other_code.c.
| char line[6][11] |
Definition at line 15 of file other_code.c.
| int N |
Definition at line 14 of file other_code.c.
| char * p |
Definition at line 15 of file other_code.c.
| char word[6][11] |
Definition at line 15 of file other_code.c.