init
This commit is contained in:
15
exam-basedir03/subjects/max/subject.en.txt
Normal file
15
exam-basedir03/subjects/max/subject.en.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
Assignment name : max
|
||||
Expected files : max.c
|
||||
Allowed functions:
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Write the following function:
|
||||
|
||||
int max(int* tab, unsigned int len);
|
||||
|
||||
The first parameter is an array of int, the second is the number of elements in
|
||||
the array.
|
||||
|
||||
The function returns the largest number found in the array.
|
||||
|
||||
If the array is empty, the function returns 0.
|
15
exam-basedir03/subjects/max/subject.fr.txt
Normal file
15
exam-basedir03/subjects/max/subject.fr.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
Assignment name : max
|
||||
Expected files : max.c
|
||||
Allowed functions:
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Écrire la fonction suivante:
|
||||
|
||||
int max(int *tab, unsigned int len);
|
||||
|
||||
Le premier paramètre est un tableau d'int, le deuxième est le nombre d'éléments
|
||||
contenus dans ce tableau.
|
||||
|
||||
La fonction renvoie le plus grand nombre trouvé dans le tableau.
|
||||
|
||||
Si le tableau est vide, la fonction renvoie 0.
|
15
exam-basedir03/subjects/max/subject.ro.txt
Normal file
15
exam-basedir03/subjects/max/subject.ro.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
Exercitiu : max
|
||||
Fisiere de iesire : max.c
|
||||
Functii autorizate :
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Scrieti functia urmatoare:
|
||||
|
||||
int max(int* tab, unsigned int len);
|
||||
|
||||
Primul parametru este un tablou de intregi, al doile este numarul de elemente
|
||||
continute in tablou.
|
||||
|
||||
Functia trebuie sa returmeze cel mai mare numar gasit in tablou.
|
||||
|
||||
Daca tabloul este vid, functia va returna 0.
|
Reference in New Issue
Block a user