aboutsummaryrefslogtreecommitdiff
path: root/exam00
diff options
context:
space:
mode:
Diffstat (limited to 'exam00')
-rwxr-xr-xexam00/cacharle/__GIT_HISTORY71
-rwxr-xr-xexam00/cacharle/ft_atoi/ft_atoi.c60
-rwxr-xr-xexam00/cacharle/ft_countdown/ft_countdown.c20
-rwxr-xr-xexam00/cacharle/ft_putstr/ft_putstr.c10
-rwxr-xr-xexam00/cacharle/ft_strrev/ft_strrev.c31
-rwxr-xr-xexam00/cacharle/maff_alpha/maff_alpha.c21
-rwxr-xr-xexam00/cacharle/only_z/only_z.c8
-rwxr-xr-xexam00/rendu/__GIT_HISTORY71
-rwxr-xr-xexam00/rendu/ft_atoi/ft_atoi.c60
-rwxr-xr-xexam00/rendu/ft_countdown/ft_countdown.c20
-rwxr-xr-xexam00/rendu/ft_putstr/ft_putstr.c10
-rwxr-xr-xexam00/rendu/ft_strrev/ft_strrev.c31
-rwxr-xr-xexam00/rendu/maff_alpha/maff_alpha.c21
-rwxr-xr-xexam00/rendu/only_z/only_z.c8
-rw-r--r--exam00/subjects/0-0-only_z/subject.en.txt6
-rw-r--r--exam00/subjects/0-0-only_z/subject.fr.txt6
-rw-r--r--exam00/subjects/1-0-ft_countdown/subject.en.txt12
-rw-r--r--exam00/subjects/1-0-ft_countdown/subject.fr.txt12
-rw-r--r--exam00/subjects/2-0-maff_alpha/examples.txt2
-rw-r--r--exam00/subjects/2-0-maff_alpha/subject.en.txt12
-rw-r--r--exam00/subjects/2-0-maff_alpha/subject.fr.txt12
-rw-r--r--exam00/subjects/3-0-ft_putstr/subject.en.txt13
-rw-r--r--exam00/subjects/3-0-ft_putstr/subject.fr.txt12
-rw-r--r--exam00/subjects/4-0-ft_strrev/subject.en.txt12
-rw-r--r--exam00/subjects/4-0-ft_strrev/subject.fr.txt12
-rw-r--r--exam00/subjects/5-0-ft_atoi/subject.en.txt13
-rw-r--r--exam00/subjects/5-0-ft_atoi/subject.fr.txt12
-rw-r--r--exam00/subjects/5-1-ft_atoi/subject.en.txt13
-rw-r--r--exam00/subjects/5-1-ft_atoi/subject.fr.txt12
-rw-r--r--exam00/traces/0-0-only_z.trace.txt47
-rw-r--r--exam00/traces/1-0-ft_countdown.trace.txt53
-rw-r--r--exam00/traces/2-0-maff_alpha.trace.txt59
-rw-r--r--exam00/traces/3-0-ft_putstr.trace.txt100
-rw-r--r--exam00/traces/4-0-ft_strrev.trace.txt112
-rw-r--r--exam00/traces/5-0-ft_atoi.trace.txt79
-rw-r--r--exam00/traces/5-1-ft_atoi.trace.txt174
36 files changed, 1227 insertions, 0 deletions
diff --git a/exam00/cacharle/__GIT_HISTORY b/exam00/cacharle/__GIT_HISTORY
new file mode 100755
index 0000000..4ce38dc
--- /dev/null
+++ b/exam00/cacharle/__GIT_HISTORY
@@ -0,0 +1,71 @@
+commit 4933249a7abc3ae2a2f34fa94bc39fc25b94037e
+Author: Exam 42 <exam-no-reply@42.fr>
+Date: Fri Jul 5 20:42:29 2019 +0200
+
+ there is still a main you idiot
+
+ ft_atoi/ft_atoi.c | 5 -----
+ 1 file changed, 5 deletions(-)
+
+commit aee71077430e4cb04d7151c5422572a6ccd97167
+Author: Exam 42 <exam-no-reply@42.fr>
+Date: Fri Jul 5 20:37:38 2019 +0200
+
+ exam00 ft_atoi
+
+ ft_atoi/ft_atoi.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 65 insertions(+)
+
+commit a39f6ce8235aec04c798cf602000ab71a8be0361
+Author: Exam 42 <exam-no-reply@42.fr>
+Date: Fri Jul 5 19:25:56 2019 +0200
+
+ ft_strrev return corr
+
+ ft_strrev/ft_strrev.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit d7079124e81f8d1d030d31f59ca1fa2a1e2eb8f9
+Author: Exam 42 <exam-no-reply@42.fr>
+Date: Fri Jul 5 19:23:52 2019 +0200
+
+ exam00 ft_strrev
+
+ ft_strrev/ft_strrev.c | 31 +++++++++++++++++++++++++++++++
+ 1 file changed, 31 insertions(+)
+
+commit 9a061d46ec225b60d5798839c9343d3dcb47a21e
+Author: Exam 42 <exam-no-reply@42.fr>
+Date: Fri Jul 5 18:57:38 2019 +0200
+
+ exam00 ft_putstr
+
+ ft_putstr/ft_putstr.c | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+commit cf5957fe28f503c7637a640ca229743385364c1d
+Author: Exam 42 <exam-no-reply@42.fr>
+Date: Fri Jul 5 18:47:39 2019 +0200
+
+ exam00 maff_alpha.c
+
+ maff_alpha/maff_alpha.c | 21 +++++++++++++++++++++
+ 1 file changed, 21 insertions(+)
+
+commit 1bff6951e5d37fb9f911e6cf93afdb9a2a079a64
+Author: Exam 42 <exam-no-reply@42.fr>
+Date: Fri Jul 5 18:38:16 2019 +0200
+
+ exam00 ft_countdown
+
+ ft_countdown/ft_countdown.c | 20 ++++++++++++++++++++
+ 1 file changed, 20 insertions(+)
+
+commit 1ea27768767e32d773e78820d481b20a4d108c5b
+Author: Exam 42 <exam-no-reply@42.fr>
+Date: Fri Jul 5 18:23:38 2019 +0200
+
+ exam only_z
+
+ only_z/only_z.c | 8 ++++++++
+ 1 file changed, 8 insertions(+)
diff --git a/exam00/cacharle/ft_atoi/ft_atoi.c b/exam00/cacharle/ft_atoi/ft_atoi.c
new file mode 100755
index 0000000..81f0706
--- /dev/null
+++ b/exam00/cacharle/ft_atoi/ft_atoi.c
@@ -0,0 +1,60 @@
+char ctoi(char c)
+{
+ return (c - '0');
+}
+
+int ft_strlen(const char *str)
+{
+ int counter;
+
+ counter = 0;
+ while (*str >= '0' && *str <= '9')
+ {
+ counter++;
+ str++;
+ }
+ return (counter);
+}
+
+int pow10(int exponent)
+{
+ int accumulator;
+
+ accumulator = 1;
+ while (exponent > 0)
+ {
+ accumulator *= 10;
+ exponent--;
+ }
+ return (accumulator);
+}
+
+int ft_atoi(const char *str)
+{
+ int nb;
+ int i;
+ int is_negative;
+
+ while (*str == ' ' || *str == '\t'|| *str == '\n'
+ || *str == '\v'|| *str == '\f'|| *str == '\r')
+ str++;
+ if (*str == '-')
+ is_negative = 1;
+ else
+ is_negative = 0;
+ if (*str == '-' || *str == '+')
+ {
+ str++;
+ }
+ nb = 0;
+ i = ft_strlen(str) - 1;
+ while (*str >= '0' && *str <= '9')
+ {
+ nb += pow10(i) * ctoi(*str);
+ i--;
+ str++;
+ }
+ if (is_negative)
+ nb = -nb;
+ return (nb);
+}
diff --git a/exam00/cacharle/ft_countdown/ft_countdown.c b/exam00/cacharle/ft_countdown/ft_countdown.c
new file mode 100755
index 0000000..67861c6
--- /dev/null
+++ b/exam00/cacharle/ft_countdown/ft_countdown.c
@@ -0,0 +1,20 @@
+#include <unistd.h>
+
+void ft_putchar(char c)
+{
+ write(1, &c, 1);
+}
+
+int main(void)
+{
+ char a;
+
+ a = '9';
+ while (a >= '0')
+ {
+ ft_putchar(a);
+ a--;
+ }
+ ft_putchar('\n');
+}
+
diff --git a/exam00/cacharle/ft_putstr/ft_putstr.c b/exam00/cacharle/ft_putstr/ft_putstr.c
new file mode 100755
index 0000000..aea8468
--- /dev/null
+++ b/exam00/cacharle/ft_putstr/ft_putstr.c
@@ -0,0 +1,10 @@
+#include <unistd.h>
+
+void ft_putstr(char *str)
+{
+ while (*str)
+ {
+ write(1, str, 1);
+ str++;
+ }
+}
diff --git a/exam00/cacharle/ft_strrev/ft_strrev.c b/exam00/cacharle/ft_strrev/ft_strrev.c
new file mode 100755
index 0000000..ef58887
--- /dev/null
+++ b/exam00/cacharle/ft_strrev/ft_strrev.c
@@ -0,0 +1,31 @@
+int ft_strlen(char *str)
+{
+ int counter;
+
+ counter = 0;
+ while (*str)
+ {
+ counter++;
+ str++;
+ }
+ return (counter);
+}
+
+char *ft_strrev(char *str)
+{
+ int i;
+ int j;
+ char tmp;
+
+ i = 0;
+ j = ft_strlen(str) - 1;
+ while (i <= j)
+ {
+ tmp = str[i];
+ str[i] = str[j];
+ str[j] = tmp;
+ i++;
+ j--;
+ }
+ return (str);
+}
diff --git a/exam00/cacharle/maff_alpha/maff_alpha.c b/exam00/cacharle/maff_alpha/maff_alpha.c
new file mode 100755
index 0000000..416dc0d
--- /dev/null
+++ b/exam00/cacharle/maff_alpha/maff_alpha.c
@@ -0,0 +1,21 @@
+#include <unistd.h>
+
+void ft_putchar(char c)
+{
+ write(1, &c, 1);
+}
+
+int main(void)
+{
+ char ch = 'a';
+ while (ch <= 'z')
+ {
+ if (ch % 2 == 0)
+ ft_putchar(ch - 'a' + 'A');
+ else
+ ft_putchar(ch);
+ ch++;
+ }
+ ft_putchar('\n');
+ return 0;
+}
diff --git a/exam00/cacharle/only_z/only_z.c b/exam00/cacharle/only_z/only_z.c
new file mode 100755
index 0000000..08ab66b
--- /dev/null
+++ b/exam00/cacharle/only_z/only_z.c
@@ -0,0 +1,8 @@
+#include <unistd.h>
+
+int main(void)
+{
+ char z = 'z';
+ write(1, &z, 1);
+ return 0;
+}
diff --git a/exam00/rendu/__GIT_HISTORY b/exam00/rendu/__GIT_HISTORY
new file mode 100755
index 0000000..4ce38dc
--- /dev/null
+++ b/exam00/rendu/__GIT_HISTORY
@@ -0,0 +1,71 @@
+commit 4933249a7abc3ae2a2f34fa94bc39fc25b94037e
+Author: Exam 42 <exam-no-reply@42.fr>
+Date: Fri Jul 5 20:42:29 2019 +0200
+
+ there is still a main you idiot
+
+ ft_atoi/ft_atoi.c | 5 -----
+ 1 file changed, 5 deletions(-)
+
+commit aee71077430e4cb04d7151c5422572a6ccd97167
+Author: Exam 42 <exam-no-reply@42.fr>
+Date: Fri Jul 5 20:37:38 2019 +0200
+
+ exam00 ft_atoi
+
+ ft_atoi/ft_atoi.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 65 insertions(+)
+
+commit a39f6ce8235aec04c798cf602000ab71a8be0361
+Author: Exam 42 <exam-no-reply@42.fr>
+Date: Fri Jul 5 19:25:56 2019 +0200
+
+ ft_strrev return corr
+
+ ft_strrev/ft_strrev.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit d7079124e81f8d1d030d31f59ca1fa2a1e2eb8f9
+Author: Exam 42 <exam-no-reply@42.fr>
+Date: Fri Jul 5 19:23:52 2019 +0200
+
+ exam00 ft_strrev
+
+ ft_strrev/ft_strrev.c | 31 +++++++++++++++++++++++++++++++
+ 1 file changed, 31 insertions(+)
+
+commit 9a061d46ec225b60d5798839c9343d3dcb47a21e
+Author: Exam 42 <exam-no-reply@42.fr>
+Date: Fri Jul 5 18:57:38 2019 +0200
+
+ exam00 ft_putstr
+
+ ft_putstr/ft_putstr.c | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+commit cf5957fe28f503c7637a640ca229743385364c1d
+Author: Exam 42 <exam-no-reply@42.fr>
+Date: Fri Jul 5 18:47:39 2019 +0200
+
+ exam00 maff_alpha.c
+
+ maff_alpha/maff_alpha.c | 21 +++++++++++++++++++++
+ 1 file changed, 21 insertions(+)
+
+commit 1bff6951e5d37fb9f911e6cf93afdb9a2a079a64
+Author: Exam 42 <exam-no-reply@42.fr>
+Date: Fri Jul 5 18:38:16 2019 +0200
+
+ exam00 ft_countdown
+
+ ft_countdown/ft_countdown.c | 20 ++++++++++++++++++++
+ 1 file changed, 20 insertions(+)
+
+commit 1ea27768767e32d773e78820d481b20a4d108c5b
+Author: Exam 42 <exam-no-reply@42.fr>
+Date: Fri Jul 5 18:23:38 2019 +0200
+
+ exam only_z
+
+ only_z/only_z.c | 8 ++++++++
+ 1 file changed, 8 insertions(+)
diff --git a/exam00/rendu/ft_atoi/ft_atoi.c b/exam00/rendu/ft_atoi/ft_atoi.c
new file mode 100755
index 0000000..81f0706
--- /dev/null
+++ b/exam00/rendu/ft_atoi/ft_atoi.c
@@ -0,0 +1,60 @@
+char ctoi(char c)
+{
+ return (c - '0');
+}
+
+int ft_strlen(const char *str)
+{
+ int counter;
+
+ counter = 0;
+ while (*str >= '0' && *str <= '9')
+ {
+ counter++;
+ str++;
+ }
+ return (counter);
+}
+
+int pow10(int exponent)
+{
+ int accumulator;
+
+ accumulator = 1;
+ while (exponent > 0)
+ {
+ accumulator *= 10;
+ exponent--;
+ }
+ return (accumulator);
+}
+
+int ft_atoi(const char *str)
+{
+ int nb;
+ int i;
+ int is_negative;
+
+ while (*str == ' ' || *str == '\t'|| *str == '\n'
+ || *str == '\v'|| *str == '\f'|| *str == '\r')
+ str++;
+ if (*str == '-')
+ is_negative = 1;
+ else
+ is_negative = 0;
+ if (*str == '-' || *str == '+')
+ {
+ str++;
+ }
+ nb = 0;
+ i = ft_strlen(str) - 1;
+ while (*str >= '0' && *str <= '9')
+ {
+ nb += pow10(i) * ctoi(*str);
+ i--;
+ str++;
+ }
+ if (is_negative)
+ nb = -nb;
+ return (nb);
+}
diff --git a/exam00/rendu/ft_countdown/ft_countdown.c b/exam00/rendu/ft_countdown/ft_countdown.c
new file mode 100755
index 0000000..67861c6
--- /dev/null
+++ b/exam00/rendu/ft_countdown/ft_countdown.c
@@ -0,0 +1,20 @@
+#include <unistd.h>
+
+void ft_putchar(char c)
+{
+ write(1, &c, 1);
+}
+
+int main(void)
+{
+ char a;
+
+ a = '9';
+ while (a >= '0')
+ {
+ ft_putchar(a);
+ a--;
+ }
+ ft_putchar('\n');
+}
+
diff --git a/exam00/rendu/ft_putstr/ft_putstr.c b/exam00/rendu/ft_putstr/ft_putstr.c
new file mode 100755
index 0000000..aea8468
--- /dev/null
+++ b/exam00/rendu/ft_putstr/ft_putstr.c
@@ -0,0 +1,10 @@
+#include <unistd.h>
+
+void ft_putstr(char *str)
+{
+ while (*str)
+ {
+ write(1, str, 1);
+ str++;
+ }
+}
diff --git a/exam00/rendu/ft_strrev/ft_strrev.c b/exam00/rendu/ft_strrev/ft_strrev.c
new file mode 100755
index 0000000..ef58887
--- /dev/null
+++ b/exam00/rendu/ft_strrev/ft_strrev.c
@@ -0,0 +1,31 @@
+int ft_strlen(char *str)
+{
+ int counter;
+
+ counter = 0;
+ while (*str)
+ {
+ counter++;
+ str++;
+ }
+ return (counter);
+}
+
+char *ft_strrev(char *str)
+{
+ int i;
+ int j;
+ char tmp;
+
+ i = 0;
+ j = ft_strlen(str) - 1;
+ while (i <= j)
+ {
+ tmp = str[i];
+ str[i] = str[j];
+ str[j] = tmp;
+ i++;
+ j--;
+ }
+ return (str);
+}
diff --git a/exam00/rendu/maff_alpha/maff_alpha.c b/exam00/rendu/maff_alpha/maff_alpha.c
new file mode 100755
index 0000000..416dc0d
--- /dev/null
+++ b/exam00/rendu/maff_alpha/maff_alpha.c
@@ -0,0 +1,21 @@
+#include <unistd.h>
+
+void ft_putchar(char c)
+{
+ write(1, &c, 1);
+}
+
+int main(void)
+{
+ char ch = 'a';
+ while (ch <= 'z')
+ {
+ if (ch % 2 == 0)
+ ft_putchar(ch - 'a' + 'A');
+ else
+ ft_putchar(ch);
+ ch++;
+ }
+ ft_putchar('\n');
+ return 0;
+}
diff --git a/exam00/rendu/only_z/only_z.c b/exam00/rendu/only_z/only_z.c
new file mode 100755
index 0000000..08ab66b
--- /dev/null
+++ b/exam00/rendu/only_z/only_z.c
@@ -0,0 +1,8 @@
+#include <unistd.h>
+
+int main(void)
+{
+ char z = 'z';
+ write(1, &z, 1);
+ return 0;
+}
diff --git a/exam00/subjects/0-0-only_z/subject.en.txt b/exam00/subjects/0-0-only_z/subject.en.txt
new file mode 100644
index 0000000..930e2e8
--- /dev/null
+++ b/exam00/subjects/0-0-only_z/subject.en.txt
@@ -0,0 +1,6 @@
+Assignment name : only_z
+Expected files : only_z.c
+Allowed functions: write
+--------------------------------------------------------------------------------
+
+Write a program that displays a 'z' character on the standard output.
diff --git a/exam00/subjects/0-0-only_z/subject.fr.txt b/exam00/subjects/0-0-only_z/subject.fr.txt
new file mode 100644
index 0000000..e5ec893
--- /dev/null
+++ b/exam00/subjects/0-0-only_z/subject.fr.txt
@@ -0,0 +1,6 @@
+Assignment name : only_z
+Expected files : only_z.c
+Allowed functions: write
+--------------------------------------------------------------------------------
+
+Écrire un programme qui affiche un caractère 'z' sur la sortie standard.
diff --git a/exam00/subjects/1-0-ft_countdown/subject.en.txt b/exam00/subjects/1-0-ft_countdown/subject.en.txt
new file mode 100644
index 0000000..0e3dd56
--- /dev/null
+++ b/exam00/subjects/1-0-ft_countdown/subject.en.txt
@@ -0,0 +1,12 @@
+Assignment name : ft_countdown
+Expected files : ft_countdown.c
+Allowed functions: write
+--------------------------------------------------------------------------------
+
+Write a program that displays all digits in descending order, followed by a
+newline.
+
+Example:
+$> ./ft_countdown | cat -e
+9876543210$
+$>
diff --git a/exam00/subjects/1-0-ft_countdown/subject.fr.txt b/exam00/subjects/1-0-ft_countdown/subject.fr.txt
new file mode 100644
index 0000000..c4ff0ef
--- /dev/null
+++ b/exam00/subjects/1-0-ft_countdown/subject.fr.txt
@@ -0,0 +1,12 @@
+Assignment name : ft_countdown
+Expected files : ft_countdown.c
+Allowed functions: write
+--------------------------------------------------------------------------------
+
+Écrire un programme qui affiche tous les chiffres en ordre descendant, suivis
+d'un newline.
+
+Exemple:
+$> ./ft_countdown | cat -e
+9876543210$
+$>
diff --git a/exam00/subjects/2-0-maff_alpha/examples.txt b/exam00/subjects/2-0-maff_alpha/examples.txt
new file mode 100644
index 0000000..e371037
--- /dev/null
+++ b/exam00/subjects/2-0-maff_alpha/examples.txt
@@ -0,0 +1,2 @@
+$> ./maff_alpha | cat -e
+aBcDeFgHiJkLmNoPqRsTuVwXyZ$
diff --git a/exam00/subjects/2-0-maff_alpha/subject.en.txt b/exam00/subjects/2-0-maff_alpha/subject.en.txt
new file mode 100644
index 0000000..e9a8bb0
--- /dev/null
+++ b/exam00/subjects/2-0-maff_alpha/subject.en.txt
@@ -0,0 +1,12 @@
+Assignment name : maff_alpha
+Expected files : maff_alpha.c
+Allowed functions: write
+--------------------------------------------------------------------------------
+
+Write a program that displays the alphabet, with even letters in uppercase, and
+odd letters in lowercase, followed by a newline.
+
+Example:
+
+$> ./maff_alpha | cat -e
+aBcDeFgHiJkLmNoPqRsTuVwXyZ$
diff --git a/exam00/subjects/2-0-maff_alpha/subject.fr.txt b/exam00/subjects/2-0-maff_alpha/subject.fr.txt
new file mode 100644
index 0000000..a4be7f9
--- /dev/null
+++ b/exam00/subjects/2-0-maff_alpha/subject.fr.txt
@@ -0,0 +1,12 @@
+Assignment name : maff_alpha
+Expected files : maff_alpha.c
+Allowed functions: write
+--------------------------------------------------------------------------------
+
+Écrire un programme qui affiche l'alphabet une lettre sur 2 en minuscule, et le
+reste en majuscule (Voir l'exemple), suivi d'un '\n'.
+
+Exemple:
+
+$> ./maff_alpha | cat -e
+aBcDeFgHiJkLmNoPqRsTuVwXyZ$
diff --git a/exam00/subjects/3-0-ft_putstr/subject.en.txt b/exam00/subjects/3-0-ft_putstr/subject.en.txt
new file mode 100644
index 0000000..243e4d8
--- /dev/null
+++ b/exam00/subjects/3-0-ft_putstr/subject.en.txt
@@ -0,0 +1,13 @@
+Assignment name : ft_putstr
+Expected files : ft_putstr.c
+Allowed functions: write
+--------------------------------------------------------------------------------
+
+Write a function that displays a string on the standard output.
+
+The pointer passed to the function contains the address of the string's first
+character.
+
+Your function must be declared as follows:
+
+void ft_putstr(char *str);
diff --git a/exam00/subjects/3-0-ft_putstr/subject.fr.txt b/exam00/subjects/3-0-ft_putstr/subject.fr.txt
new file mode 100644
index 0000000..94183ee
--- /dev/null
+++ b/exam00/subjects/3-0-ft_putstr/subject.fr.txt
@@ -0,0 +1,12 @@
+Assignment name : ft_putstr
+Expected files : ft_putstr.c
+Allowed functions: write
+--------------------------------------------------------------------------------
+
+Écrire une fonction qui affiche une chaîne de caractères sur la sortie standard.
+
+Le pointeur passé à la fonction est l'adresse du premier caractère de la chaîne.
+
+Elle devra être prototypée de la façon suivante :
+
+void ft_putstr(char *str);
diff --git a/exam00/subjects/4-0-ft_strrev/subject.en.txt b/exam00/subjects/4-0-ft_strrev/subject.en.txt
new file mode 100644
index 0000000..6c31580
--- /dev/null
+++ b/exam00/subjects/4-0-ft_strrev/subject.en.txt
@@ -0,0 +1,12 @@
+Assignment name : ft_strrev
+Expected files : ft_strrev.c
+Allowed functions:
+--------------------------------------------------------------------------------
+
+Write a function that reverses a string by modifying it.
+
+It must return its parameter.
+
+Your function must be declared as follows:
+
+char *ft_strrev(char *str);
diff --git a/exam00/subjects/4-0-ft_strrev/subject.fr.txt b/exam00/subjects/4-0-ft_strrev/subject.fr.txt
new file mode 100644
index 0000000..f6eb115
--- /dev/null
+++ b/exam00/subjects/4-0-ft_strrev/subject.fr.txt
@@ -0,0 +1,12 @@
+Assignment name : ft_strrev
+Expected files : ft_strrev.c
+Allowed functions:
+--------------------------------------------------------------------------------
+
+Écrire une fonction qui inverse une chaîne de caractères en la modifiant.
+
+Elle devra renvoyer son paramètre.
+
+Votre fonction devra être prototypée de la façon suivante :
+
+char *ft_strrev(char *str);
diff --git a/exam00/subjects/5-0-ft_atoi/subject.en.txt b/exam00/subjects/5-0-ft_atoi/subject.en.txt
new file mode 100644
index 0000000..ebfe92b
--- /dev/null
+++ b/exam00/subjects/5-0-ft_atoi/subject.en.txt
@@ -0,0 +1,13 @@
+Assignment name : ft_atoi
+Expected files : ft_atoi.c
+Allowed functions: None
+--------------------------------------------------------------------------------
+
+Write a function that converts the string argument str to an integer (type int)
+and returns it.
+
+It works much like the standard atoi(const char *str) function, see the man.
+
+Your function must be declared as follows:
+
+int ft_atoi(const char *str);
diff --git a/exam00/subjects/5-0-ft_atoi/subject.fr.txt b/exam00/subjects/5-0-ft_atoi/subject.fr.txt
new file mode 100644
index 0000000..2c9977c
--- /dev/null
+++ b/exam00/subjects/5-0-ft_atoi/subject.fr.txt
@@ -0,0 +1,12 @@
+Assignment name : ft_atoi
+Expected files : ft_atoi.c
+Allowed functions: None
+--------------------------------------------------------------------------------
+
+Écrire une fonction qui convertit une chaîne en un entier (type int) et le retourne.
+
+Marche comme la fonction standard atoi(const char *str), voir le man.
+
+La fonction doit être prototypée comme suit:
+
+int ft_atoi(const char *str);
diff --git a/exam00/subjects/5-1-ft_atoi/subject.en.txt b/exam00/subjects/5-1-ft_atoi/subject.en.txt
new file mode 100644
index 0000000..ebfe92b
--- /dev/null
+++ b/exam00/subjects/5-1-ft_atoi/subject.en.txt
@@ -0,0 +1,13 @@
+Assignment name : ft_atoi
+Expected files : ft_atoi.c
+Allowed functions: None
+--------------------------------------------------------------------------------
+
+Write a function that converts the string argument str to an integer (type int)
+and returns it.
+
+It works much like the standard atoi(const char *str) function, see the man.
+
+Your function must be declared as follows:
+
+int ft_atoi(const char *str);
diff --git a/exam00/subjects/5-1-ft_atoi/subject.fr.txt b/exam00/subjects/5-1-ft_atoi/subject.fr.txt
new file mode 100644
index 0000000..2c9977c
--- /dev/null
+++ b/exam00/subjects/5-1-ft_atoi/subject.fr.txt
@@ -0,0 +1,12 @@
+Assignment name : ft_atoi
+Expected files : ft_atoi.c
+Allowed functions: None
+--------------------------------------------------------------------------------
+
+Écrire une fonction qui convertit une chaîne en un entier (type int) et le retourne.
+
+Marche comme la fonction standard atoi(const char *str), voir le man.
+
+La fonction doit être prototypée comme suit:
+
+int ft_atoi(const char *str);
diff --git a/exam00/traces/0-0-only_z.trace.txt b/exam00/traces/0-0-only_z.trace.txt
new file mode 100644
index 0000000..10c99b3
--- /dev/null
+++ b/exam00/traces/0-0-only_z.trace.txt
@@ -0,0 +1,47 @@
+= Host-specific information ====================================================
+$> hostname; uname -msr
+e-r3-p2.s19.be
+Darwin 16.7.0 x86_64
+$> date
+Fri Jul 5 18:27:00 CEST 2019
+$> gcc --version
+Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
+Apple LLVM version 9.0.0 (clang-900.0.39.2)
+Target: x86_64-apple-darwin16.7.0
+Thread model: posix
+InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
+$> clang --version
+Apple LLVM version 9.0.0 (clang-900.0.39.2)
+Target: x86_64-apple-darwin16.7.0
+Thread model: posix
+InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
+
+= User files collection ========================================================
+Collecting user files from Vogsphere
+Repository URL: auto-exam/2019/c-piscine-exam-00/exam_20190705/cacharle
+
+= Git history ==================================================================
+$> git -C /var/folders/g6/h_bg9_59611fps0h1qj_5wn00000gq/T/tmp9Zd5au/user log --pretty='%H - %an, %ad : %s'
+1ea27768767e32d773e78820d481b20a4d108c5b - Exam 42, Fri Jul 5 18:23:38 2019 +0200 : exam only_z
+
+= Collected files ==========================================
+$> ls -lAR /var/folders/g6/h_bg9_59611fps0h1qj_5wn00000gq/T/tmp9Zd5au/user
+total 8
+-rw-r--r-- 1 deepthought deepthought 205 Jul 5 18:27 __GIT_HISTORY
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:27 only_z
+
+/var/folders/g6/h_bg9_59611fps0h1qj_5wn00000gq/T/tmp9Zd5au/user/only_z:
+total 8
+-rw-r--r-- 1 deepthought deepthought 85 Jul 5 18:27 only_z.c
+
+= only_z =======================================================================
+$> gcc -Wextra -Wall -Werror only_z.c -o user_exe
+
+= Test 1 ===================================================
+$> ./u9ozzm9nofxo5ratvr118fdc
+$> diff -U 3 user_output_test1 test1.output | cat -e
+
+Diff OK :D
+Grade: 1
+
+= Final grade: 1 ===============================================================
diff --git a/exam00/traces/1-0-ft_countdown.trace.txt b/exam00/traces/1-0-ft_countdown.trace.txt
new file mode 100644
index 0000000..af6adf8
--- /dev/null
+++ b/exam00/traces/1-0-ft_countdown.trace.txt
@@ -0,0 +1,53 @@
+= Host-specific information ====================================================
+$> hostname; uname -msr
+e-r3-p3.s19.be
+Darwin 16.7.0 x86_64
+$> date
+Fri Jul 5 18:39:16 CEST 2019
+$> gcc --version
+Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
+Apple LLVM version 9.0.0 (clang-900.0.39.2)
+Target: x86_64-apple-darwin16.7.0
+Thread model: posix
+InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
+$> clang --version
+Apple LLVM version 9.0.0 (clang-900.0.39.2)
+Target: x86_64-apple-darwin16.7.0
+Thread model: posix
+InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
+
+= User files collection ========================================================
+Collecting user files from Vogsphere
+Repository URL: auto-exam/2019/c-piscine-exam-00/exam_20190705/cacharle
+
+= Git history ==================================================================
+$> git -C /var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpX7leMe/user log --pretty='%H - %an, %ad : %s'
+1bff6951e5d37fb9f911e6cf93afdb9a2a079a64 - Exam 42, Fri Jul 5 18:38:16 2019 +0200 : exam00 ft_countdown
+1ea27768767e32d773e78820d481b20a4d108c5b - Exam 42, Fri Jul 5 18:23:38 2019 +0200 : exam only_z
+
+= Collected files ==========================================
+$> ls -lAR /var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpX7leMe/user
+total 8
+-rw-r--r-- 1 deepthought deepthought 445 Jul 5 18:39 __GIT_HISTORY
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:39 ft_countdown
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:39 only_z
+
+/var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpX7leMe/user/ft_countdown:
+total 8
+-rw-r--r-- 1 deepthought deepthought 176 Jul 5 18:39 ft_countdown.c
+
+/var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpX7leMe/user/only_z:
+total 8
+-rw-r--r-- 1 deepthought deepthought 85 Jul 5 18:39 only_z.c
+
+= ft_countdown =================================================================
+$> gcc -Wextra -Wall -Werror ft_countdown.c -o user_exe
+
+= Test 1 ===================================================
+$> ./w1f15fi1k22snxrsd4a6asvb
+$> diff -U 3 user_output_test1 test1.output | cat -e
+
+Diff OK :D
+Grade: 1
+
+= Final grade: 1 ===============================================================
diff --git a/exam00/traces/2-0-maff_alpha.trace.txt b/exam00/traces/2-0-maff_alpha.trace.txt
new file mode 100644
index 0000000..0b85f9c
--- /dev/null
+++ b/exam00/traces/2-0-maff_alpha.trace.txt
@@ -0,0 +1,59 @@
+= Host-specific information ====================================================
+$> hostname; uname -msr
+e-r3-p3.s19.be
+Darwin 16.7.0 x86_64
+$> date
+Fri Jul 5 18:49:11 CEST 2019
+$> gcc --version
+Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
+Apple LLVM version 9.0.0 (clang-900.0.39.2)
+Target: x86_64-apple-darwin16.7.0
+Thread model: posix
+InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
+$> clang --version
+Apple LLVM version 9.0.0 (clang-900.0.39.2)
+Target: x86_64-apple-darwin16.7.0
+Thread model: posix
+InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
+
+= User files collection ========================================================
+Collecting user files from Vogsphere
+Repository URL: auto-exam/2019/c-piscine-exam-00/exam_20190705/cacharle
+
+= Git history ==================================================================
+$> git -C /var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpN1y_P4/user log --pretty='%H - %an, %ad : %s'
+cf5957fe28f503c7637a640ca229743385364c1d - Exam 42, Fri Jul 5 18:47:39 2019 +0200 : exam00 maff_alpha.c
+1bff6951e5d37fb9f911e6cf93afdb9a2a079a64 - Exam 42, Fri Jul 5 18:38:16 2019 +0200 : exam00 ft_countdown
+1ea27768767e32d773e78820d481b20a4d108c5b - Exam 42, Fri Jul 5 18:23:38 2019 +0200 : exam only_z
+
+= Collected files ==========================================
+$> ls -lAR /var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpN1y_P4/user
+total 8
+-rw-r--r-- 1 deepthought deepthought 682 Jul 5 18:49 __GIT_HISTORY
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:49 ft_countdown
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:49 maff_alpha
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:49 only_z
+
+/var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpN1y_P4/user/ft_countdown:
+total 8
+-rw-r--r-- 1 deepthought deepthought 176 Jul 5 18:49 ft_countdown.c
+
+/var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpN1y_P4/user/maff_alpha:
+total 8
+-rw-r--r-- 1 deepthought deepthought 243 Jul 5 18:49 maff_alpha.c
+
+/var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpN1y_P4/user/only_z:
+total 8
+-rw-r--r-- 1 deepthought deepthought 85 Jul 5 18:49 only_z.c
+
+= maff_alpha ===================================================================
+$> gcc -Wextra -Wall -Werror maff_alpha.c -o user_exe
+
+= Test 1 ===================================================
+$> ./k84nv7um4hcicmqio061oq0j test1.prm
+$> diff -U 3 user_output_test1 test1.output | cat -e
+
+Diff OK :D
+Grade: 1
+
+= Final grade: 1 ===============================================================
diff --git a/exam00/traces/3-0-ft_putstr.trace.txt b/exam00/traces/3-0-ft_putstr.trace.txt
new file mode 100644
index 0000000..90cdf3f
--- /dev/null
+++ b/exam00/traces/3-0-ft_putstr.trace.txt
@@ -0,0 +1,100 @@
+= Host-specific information ====================================================
+$> hostname; uname -msr
+w-r2-p3.s19.be
+Darwin 16.7.0 x86_64
+$> date
+Fri Jul 5 18:59:05 CEST 2019
+$> gcc --version
+Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
+Apple LLVM version 9.0.0 (clang-900.0.39.2)
+Target: x86_64-apple-darwin16.7.0
+Thread model: posix
+InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
+$> clang --version
+Apple LLVM version 9.0.0 (clang-900.0.39.2)
+Target: x86_64-apple-darwin16.7.0
+Thread model: posix
+InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
+
+= User files collection ========================================================
+Collecting user files from Vogsphere
+Repository URL: auto-exam/2019/c-piscine-exam-00/exam_20190705/cacharle
+
+= Git history ==================================================================
+$> git -C /var/folders/kq/r93mxbbj0037ct86dqvwz4cm0000gq/T/tmpcv1MNB/user log --pretty='%H - %an, %ad : %s'
+9a061d46ec225b60d5798839c9343d3dcb47a21e - Exam 42, Fri Jul 5 18:57:38 2019 +0200 : exam00 ft_putstr
+cf5957fe28f503c7637a640ca229743385364c1d - Exam 42, Fri Jul 5 18:47:39 2019 +0200 : exam00 maff_alpha.c
+1bff6951e5d37fb9f911e6cf93afdb9a2a079a64 - Exam 42, Fri Jul 5 18:38:16 2019 +0200 : exam00 ft_countdown
+1ea27768767e32d773e78820d481b20a4d108c5b - Exam 42, Fri Jul 5 18:23:38 2019 +0200 : exam only_z
+
+= Collected files ==========================================
+$> ls -lAR /var/folders/kq/r93mxbbj0037ct86dqvwz4cm0000gq/T/tmpcv1MNB/user
+total 8
+-rw-r--r-- 1 deepthought deepthought 903 Jul 5 18:59 __GIT_HISTORY
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:59 ft_countdown
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:59 ft_putstr
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:59 maff_alpha
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:59 only_z
+
+/var/folders/kq/r93mxbbj0037ct86dqvwz4cm0000gq/T/tmpcv1MNB/user/ft_countdown:
+total 8
+-rw-r--r-- 1 deepthought deepthought 176 Jul 5 18:59 ft_countdown.c
+
+/var/folders/kq/r93mxbbj0037ct86dqvwz4cm0000gq/T/tmpcv1MNB/user/ft_putstr:
+total 8
+-rw-r--r-- 1 deepthought deepthought 100 Jul 5 18:59 ft_putstr.c
+
+/var/folders/kq/r93mxbbj0037ct86dqvwz4cm0000gq/T/tmpcv1MNB/user/maff_alpha:
+total 8
+-rw-r--r-- 1 deepthought deepthought 243 Jul 5 18:59 maff_alpha.c
+
+/var/folders/kq/r93mxbbj0037ct86dqvwz4cm0000gq/T/tmpcv1MNB/user/only_z:
+total 8
+-rw-r--r-- 1 deepthought deepthought 85 Jul 5 18:59 only_z.c
+
+= ft_putstr ====================================================================
+$> gcc -Wextra -Wall -Werror main.c ft_putstr.c -o user_exe
+
+= Test 1 ===================================================
+$> ./9xfoet7m0vempzhmnf4ho43n "jvb2pelNRFGJ"
+$> diff -U 3 user_output_test1 test1.output | cat -e
+
+Diff OK :D
+= Test 2 ===================================================
+$> ./wq3alz983dqqc3wg484wnqfw "VMgqCef"
+$> diff -U 3 user_output_test2 test2.output | cat -e
+
+Diff OK :D
+= Test 3 ===================================================
+$> ./9tl0aba3kifdg15f779yybe9 "3BvXW7CUPgy8"
+$> diff -U 3 user_output_test3 test3.output | cat -e
+
+Diff OK :D
+= Test 4 ===================================================
+$> ./mh26e96e326m10sggfje4nkv "Sc0viD1Iewt MEmOYySDaf M56Zv8m F6AO2wnZSYuTPjD4 XVaKDeorYTiG"
+$> diff -U 3 user_output_test4 test4.output | cat -e
+
+Diff OK :D
+= Test 5 ===================================================
+$> ./oo97vg5v00skozn6cv63ru0q "9iSuh3 KSXjbpno VQPyJ0DT3NCkvRnzK LM5obuBZ78C0H4aiz 1NQFbRP89BAtgC0ek 2VBFA9GQOXW381 UnKsoyJ8Y"
+$> diff -U 3 user_output_test5 test5.output | cat -e
+
+Diff OK :D
+= Test 6 ===================================================
+$> ./ymnkpobfcyso5yegtup4zdrk "xLO5lC ESD8 Qp5m7xuWInPiVes1 0XPk8 4XZ2N TMpaPXVDF9RkG c8rVf gX9dJ3 GfsQ2ajKWcvqkH vtisz 0wNIH4Mvy58KlfoL RbJmOsgMPWnU uhI8Y1moe5j JR8lKwLf34g5N"
+$> diff -U 3 user_output_test6 test6.output | cat -e
+
+Diff OK :D
+= Test 7 ===================================================
+$> ./vtyvlhepzovpnctjscujlfuh "EIs69jQneGxJ7lzqH jUnGHiyFlfLEX p0xnaLOfU e1OLu5fU ZOSCiXt7aKRd QETZ9J5jeI4lvCL e8k4O35y 7AJL4yKh5bkZ"
+$> diff -U 3 user_output_test7 test7.output | cat -e
+
+Diff OK :D
+= Test 8 ===================================================
+$> ./qiu1bn42f0p5m1b4o4iibk29
+$> diff -U 3 user_output_test8 test8.output | cat -e
+
+Diff OK :D
+Grade: 1
+
+= Final grade: 1 ===============================================================
diff --git a/exam00/traces/4-0-ft_strrev.trace.txt b/exam00/traces/4-0-ft_strrev.trace.txt
new file mode 100644
index 0000000..1142596
--- /dev/null
+++ b/exam00/traces/4-0-ft_strrev.trace.txt
@@ -0,0 +1,112 @@
+= Host-specific information ====================================================
+$> hostname; uname -msr
+e-r8-p3.s19.be
+Darwin 16.7.0 x86_64
+$> date
+Fri Jul 5 19:27:06 CEST 2019
+$> gcc --version
+Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
+Apple LLVM version 9.0.0 (clang-900.0.39.2)
+Target: x86_64-apple-darwin16.7.0
+Thread model: posix
+InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
+$> clang --version
+Apple LLVM version 9.0.0 (clang-900.0.39.2)
+Target: x86_64-apple-darwin16.7.0
+Thread model: posix
+InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
+
+= User files collection ========================================================
+Collecting user files from Vogsphere
+Repository URL: auto-exam/2019/c-piscine-exam-00/exam_20190705/cacharle
+
+= Git history ==================================================================
+$> git -C /var/folders/l9/6nrl35jn2mgbhk1y0r2zhrtm0000gq/T/tmpFz8MhK/user log --pretty='%H - %an, %ad : %s'
+a39f6ce8235aec04c798cf602000ab71a8be0361 - Exam 42, Fri Jul 5 19:25:56 2019 +0200 : ft_strrev return corr
+d7079124e81f8d1d030d31f59ca1fa2a1e2eb8f9 - Exam 42, Fri Jul 5 19:23:52 2019 +0200 : exam00 ft_strrev
+9a061d46ec225b60d5798839c9343d3dcb47a21e - Exam 42, Fri Jul 5 18:57:38 2019 +0200 : exam00 ft_putstr
+cf5957fe28f503c7637a640ca229743385364c1d - Exam 42, Fri Jul 5 18:47:39 2019 +0200 : exam00 maff_alpha.c
+1bff6951e5d37fb9f911e6cf93afdb9a2a079a64 - Exam 42, Fri Jul 5 18:38:16 2019 +0200 : exam00 ft_countdown
+1ea27768767e32d773e78820d481b20a4d108c5b - Exam 42, Fri Jul 5 18:23:38 2019 +0200 : exam only_z
+
+= Collected files ==========================================
+$> ls -lAR /var/folders/l9/6nrl35jn2mgbhk1y0r2zhrtm0000gq/T/tmpFz8MhK/user
+total 8
+-rw-r--r-- 1 deepthought deepthought 1375 Jul 5 19:27 __GIT_HISTORY
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 19:27 ft_countdown
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 19:27 ft_putstr
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 19:27 ft_strrev
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 19:27 maff_alpha
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 19:27 only_z
+
+/var/folders/l9/6nrl35jn2mgbhk1y0r2zhrtm0000gq/T/tmpFz8MhK/user/ft_countdown:
+total 8
+-rw-r--r-- 1 deepthought deepthought 176 Jul 5 19:27 ft_countdown.c
+
+/var/folders/l9/6nrl35jn2mgbhk1y0r2zhrtm0000gq/T/tmpFz8MhK/user/ft_putstr:
+total 8
+-rw-r--r-- 1 deepthought deepthought 100 Jul 5 19:27 ft_putstr.c
+
+/var/folders/l9/6nrl35jn2mgbhk1y0r2zhrtm0000gq/T/tmpFz8MhK/user/ft_strrev:
+total 8
+-rw-r--r-- 1 deepthought deepthought 320 Jul 5 19:27 ft_strrev.c
+
+/var/folders/l9/6nrl35jn2mgbhk1y0r2zhrtm0000gq/T/tmpFz8MhK/user/maff_alpha:
+total 8
+-rw-r--r-- 1 deepthought deepthought 243 Jul 5 19:27 maff_alpha.c
+
+/var/folders/l9/6nrl35jn2mgbhk1y0r2zhrtm0000gq/T/tmpFz8MhK/user/only_z:
+total 8
+-rw-r--r-- 1 deepthought deepthought 85 Jul 5 19:27 only_z.c
+
+= ft_strrev ====================================================================
+$> gcc -Wextra -Wall -Werror ft_strrev.c main.c -o user_exe
+
+= Test 1 ===================================================
+$> ./m7ofdfc4x6acb1hvwpt1dv18 ""
+$> diff -U 3 user_output_test1 test1.output | cat -e
+
+Diff OK :D
+= Test 2 ===================================================
+$> ./rqmpywt6pg6lptmqqccdu4py "S5BV2wD9cN"
+$> diff -U 3 user_output_test2 test2.output | cat -e
+
+Diff OK :D
+= Test 3 ===================================================
+$> ./04n96wi4nvf6dlbcugel5b99 "dpoEjIvf4gOh3F5L"
+$> diff -U 3 user_output_test3 test3.output | cat -e
+
+Diff OK :D
+= Test 4 ===================================================
+$> ./wa66cmqzpx5vac9lh0ykzp8q "PrRONg"
+$> diff -U 3 user_output_test4 test4.output | cat -e
+
+Diff OK :D
+= Test 5 ===================================================
+$> ./m1qcicepj53lx51duzzc9aff "JyXK9SWxIU5"
+$> diff -U 3 user_output_test5 test5.output | cat -e
+
+Diff OK :D
+= Test 6 ===================================================
+$> ./5n6iqtvn684cti4ula2zhjvs "UYHbnBMIF4jLmE ubfao3sMp 0SRs8Q3Co5EidaZ4r 8vYZ2UTR9t fgSP8puxyD7eih bryUG"
+$> diff -U 3 user_output_test6 test6.output | cat -e
+
+Diff OK :D
+= Test 7 ===================================================
+$> ./898kgo65zyo6adca1w8hitdi "zZL vQE4Hp 12JAy 7NLfVQqeoAnE jgDIaY7r1n Mh0aIlc NelMTAGdCIVbn PQZet2iU6OIqR QW06jtlN FlbE5yqgWA DmhgSAbza8tVuer P4np BSqtyMc AFY J5gPYj2hZi19dSL 41WoZrvjwLbJzRa"
+$> diff -U 3 user_output_test7 test7.output | cat -e
+
+Diff OK :D
+= Test 8 ===================================================
+$> ./pc3xu83kbhgy9sip0h8dmqta "dgTlb3Xz4JyaN2i 2AzSZr3gbJT6MK GqXnrcaTHy35VZgoW 1aPD"
+$> diff -U 3 user_output_test8 test8.output | cat -e
+
+Diff OK :D
+= Test 9 ===================================================
+$> ./vbwg4lkl4002py4s32r8oxcc "yoN9Pl IyWnpxTh9gD xpo F93wpDR5kt7Zf1neW YCJ WTfnGUhMzlPQa UzKxEMXe WvQcgHXKPV2iLn cIFepna6wOk0tyZ 7ILYvnNzJxOQ3 rs4wP PoXZG374LzEMj9 ba6wdf4miJTV D6BgKbrIe5nvqti E4eJGHIVW6l71Ct"
+$> diff -U 3 user_output_test9 test9.output | cat -e
+
+Diff OK :D
+Grade: 1
+
+= Final grade: 1 ===============================================================
diff --git a/exam00/traces/5-0-ft_atoi.trace.txt b/exam00/traces/5-0-ft_atoi.trace.txt
new file mode 100644
index 0000000..7db7fb4
--- /dev/null
+++ b/exam00/traces/5-0-ft_atoi.trace.txt
@@ -0,0 +1,79 @@
+= Host-specific information ====================================================
+$> hostname; uname -msr
+w-r1-p1.s19.be
+Darwin 16.7.0 x86_64
+$> date
+Fri Jul 5 20:39:50 CEST 2019
+$> gcc --version
+Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
+Apple LLVM version 9.0.0 (clang-900.0.39.2)
+Target: x86_64-apple-darwin16.7.0
+Thread model: posix
+InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
+$> clang --version
+Apple LLVM version 9.0.0 (clang-900.0.39.2)
+Target: x86_64-apple-darwin16.7.0
+Thread model: posix
+InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
+
+= User files collection ========================================================
+Collecting user files from Vogsphere
+Repository URL: auto-exam/2019/c-piscine-exam-00/exam_20190705/cacharle
+
+= Git history ==================================================================
+$> git -C /var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/tmpWSUHVh/user log --pretty='%H - %an, %ad : %s'
+aee71077430e4cb04d7151c5422572a6ccd97167 - Exam 42, Fri Jul 5 20:37:38 2019 +0200 : exam00 ft_atoi
+a39f6ce8235aec04c798cf602000ab71a8be0361 - Exam 42, Fri Jul 5 19:25:56 2019 +0200 : ft_strrev return corr
+d7079124e81f8d1d030d31f59ca1fa2a1e2eb8f9 - Exam 42, Fri Jul 5 19:23:52 2019 +0200 : exam00 ft_strrev
+9a061d46ec225b60d5798839c9343d3dcb47a21e - Exam 42, Fri Jul 5 18:57:38 2019 +0200 : exam00 ft_putstr
+cf5957fe28f503c7637a640ca229743385364c1d - Exam 42, Fri Jul 5 18:47:39 2019 +0200 : exam00 maff_alpha.c
+1bff6951e5d37fb9f911e6cf93afdb9a2a079a64 - Exam 42, Fri Jul 5 18:38:16 2019 +0200 : exam00 ft_countdown
+1ea27768767e32d773e78820d481b20a4d108c5b - Exam 42, Fri Jul 5 18:23:38 2019 +0200 : exam only_z
+
+= Collected files ==========================================
+$> ls -lAR /var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/tmpWSUHVh/user
+total 8
+-rw-r--r-- 1 deepthought deepthought 1635 Jul 5 20:39 __GIT_HISTORY
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:39 ft_atoi
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:39 ft_countdown
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:39 ft_putstr
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:39 ft_strrev
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:39 maff_alpha
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:39 only_z
+
+/var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/tmpWSUHVh/user/ft_atoi:
+total 8
+-rw-r--r-- 1 deepthought deepthought 830 Jul 5 20:39 ft_atoi.c
+
+/var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/tmpWSUHVh/user/ft_countdown:
+total 8
+-rw-r--r-- 1 deepthought deepthought 176 Jul 5 20:39 ft_countdown.c
+
+/var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/tmpWSUHVh/user/ft_putstr:
+total 8
+-rw-r--r-- 1 deepthought deepthought 100 Jul 5 20:39 ft_putstr.c
+
+/var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/tmpWSUHVh/user/ft_strrev:
+total 8
+-rw-r--r-- 1 deepthought deepthought 320 Jul 5 20:39 ft_strrev.c
+
+/var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/tmpWSUHVh/user/maff_alpha:
+total 8
+-rw-r--r-- 1 deepthought deepthought 243 Jul 5 20:39 maff_alpha.c
+
+/var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/tmpWSUHVh/user/only_z:
+total 8
+-rw-r--r-- 1 deepthought deepthought 85 Jul 5 20:39 only_z.c
+
+= ft_atoi ======================================================================
+$> gcc -Wextra -Wall -Werror main.c ft_atoi.c -o user_exe
+duplicate symbol _main in:
+ /var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/main-778510.o
+ /var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/ft_atoi-1b1dec.o
+ld: 1 duplicate symbol for architecture x86_64
+clang: error: linker command failed with exit code 1 (use -v to see invocation)
+
+Could not compile 'user_exe'
+Grade: 0
+
+= Final grade: 0 ===============================================================
diff --git a/exam00/traces/5-1-ft_atoi.trace.txt b/exam00/traces/5-1-ft_atoi.trace.txt
new file mode 100644
index 0000000..00c226d
--- /dev/null
+++ b/exam00/traces/5-1-ft_atoi.trace.txt
@@ -0,0 +1,174 @@
+= Host-specific information ====================================================
+$> hostname; uname -msr
+e-r1-p4.s19.be
+Darwin 17.0.0 x86_64
+$> date
+Fri Jul 5 20:43:43 CEST 2019
+$> gcc --version
+Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
+Apple LLVM version 9.0.0 (clang-900.0.39.2)
+Target: x86_64-apple-darwin17.0.0
+Thread model: posix
+InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
+$> clang --version
+Apple LLVM version 9.0.0 (clang-900.0.39.2)
+Target: x86_64-apple-darwin17.0.0
+Thread model: posix
+InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
+
+= User files collection ========================================================
+Collecting user files from Vogsphere
+Repository URL: auto-exam/2019/c-piscine-exam-00/exam_20190705/cacharle
+
+= Git history ==================================================================
+$> git -C /var/folders/b1/8nhw8rjs4r3bn7v4ds221x280000gq/T/tmpqohSkG/user log --pretty='%H - %an, %ad : %s'
+4933249a7abc3ae2a2f34fa94bc39fc25b94037e - Exam 42, Fri Jul 5 20:42:29 2019 +0200 : there is still a main you idiot
+aee71077430e4cb04d7151c5422572a6ccd97167 - Exam 42, Fri Jul 5 20:37:38 2019 +0200 : exam00 ft_atoi
+a39f6ce8235aec04c798cf602000ab71a8be0361 - Exam 42, Fri Jul 5 19:25:56 2019 +0200 : ft_strrev return corr
+d7079124e81f8d1d030d31f59ca1fa2a1e2eb8f9 - Exam 42, Fri Jul 5 19:23:52 2019 +0200 : exam00 ft_strrev
+9a061d46ec225b60d5798839c9343d3dcb47a21e - Exam 42, Fri Jul 5 18:57:38 2019 +0200 : exam00 ft_putstr
+cf5957fe28f503c7637a640ca229743385364c1d - Exam 42, Fri Jul 5 18:47:39 2019 +0200 : exam00 maff_alpha.c
+1bff6951e5d37fb9f911e6cf93afdb9a2a079a64 - Exam 42, Fri Jul 5 18:38:16 2019 +0200 : exam00 ft_countdown
+1ea27768767e32d773e78820d481b20a4d108c5b - Exam 42, Fri Jul 5 18:23:38 2019 +0200 : exam only_z
+
+= Collected files ==========================================
+$> ls -lAR /var/folders/b1/8nhw8rjs4r3bn7v4ds221x280000gq/T/tmpqohSkG/user
+total 8
+-rw-r--r-- 1 deepthought deepthought 1859 Jul 5 20:43 __GIT_HISTORY
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:43 ft_atoi
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:43 ft_countdown
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:43 ft_putstr
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:43 ft_strrev
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:43 maff_alpha
+drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:43 only_z
+
+/var/folders/b1/8nhw8rjs4r3bn7v4ds221x280000gq/T/tmpqohSkG/user/ft_atoi:
+total 8
+-rw-r--r-- 1 deepthought deepthought 803 Jul 5 20:43 ft_atoi.c
+
+/var/folders/b1/8nhw8rjs4r3bn7v4ds221x280000gq/T/tmpqohSkG/user/ft_countdown:
+total 8
+-rw-r--r-- 1 deepthought deepthought 176 Jul 5 20:43 ft_countdown.c
+
+/var/folders/b1/8nhw8rjs4r3bn7v4ds221x280000gq/T/tmpqohSkG/user/ft_putstr:
+total 8
+-rw-r--r-- 1 deepthought deepthought 100 Jul 5 20:43 ft_putstr.c
+
+/var/folders/b1/8nhw8rjs4r3bn7v4ds221x280000gq/T/tmpqohSkG/user/ft_strrev:
+total 8
+-rw-r--r-- 1 deepthought deepthought 320 Jul 5 20:43 ft_strrev.c
+
+/var/folders/b1/8nhw8rjs4r3bn7v4ds221x280000gq/T/tmpqohSkG/user/maff_alpha:
+total 8
+-rw-r--r-- 1 deepthought deepthought 243 Jul 5 20:43 maff_alpha.c
+
+/var/folders/b1/8nhw8rjs4r3bn7v4ds221x280000gq/T/tmpqohSkG/user/only_z:
+total 8
+-rw-r--r-- 1 deepthought deepthought 85 Jul 5 20:43 only_z.c
+
+= ft_atoi ======================================================================
+$> gcc -Wextra -Wall -Werror main.c ft_atoi.c -o user_exe
+
+= Test 1 ===================================================
+$> ./jcbihz3rfanj4x6x5e2420hn
+$> diff -U 3 user_output_test1 test1.output | cat -e
+
+Diff OK :D
+= Test 2 ===================================================
+$> ./icpi3e1j8a5w9251wig3mgwr "21" "2313"
+$> diff -U 3 user_output_test2 test2.output | cat -e
+
+Diff OK :D
+= Test 3 ===================================================
+$> ./egs0v0izcp5b5i259wc7rzmr 2147483647
+$> diff -U 3 user_output_test3 test3.output | cat -e
+
+Diff OK :D
+= Test 4 ===================================================
+$> ./9qbnqd0xzkoc9fac8q2o0rk9 -2147483648
+$> diff -U 3 user_output_test4 test4.output | cat -e
+
+Diff OK :D
+= Test 5 ===================================================
+$> ./c9sjne36n9gvufl69589d6gc 0
+$> diff -U 3 user_output_test5 test5.output | cat -e
+
+Diff OK :D
+= Test 6 ===================================================
+$> ./ttxxj0yzi1hqgolxx8abqqn0 12211t11
+$> diff -U 3 user_output_test6 test6.output | cat -e
+
+Diff OK :D
+= Test 7 ===================================================
+$> ./ayg93ljmtrf4q2fjl7sk0fgx --223
+$> diff -U 3 user_output_test7 test7.output | cat -e
+
+Diff OK :D
+= Test 8 ===================================================
+$> ./8zjh6rwdaosf4gk1q22od9ty -233501767
+$> diff -U 3 user_output_test8 test8.output | cat -e
+
+Diff OK :D
+= Test 9 ===================================================
+$> ./jurbtuxtvq05sb8xqhz4d3kc 25783639
+$> diff -U 3 user_output_test9 test9.output | cat -e
+
+Diff OK :D
+= Test 10 ==================================================
+$> ./5jgfse31lkl5mvd01dc735pz 943397825
+$> diff -U 3 user_output_test10 test10.output | cat -e
+
+Diff OK :D
+= Test 11 ==================================================
+$> ./cqu77yuhsstqzcubdclr4keh -1826524713
+$> diff -U 3 user_output_test11 test11.output | cat -e
+
+Diff OK :D
+= Test 12 ==================================================
+$> ./zzy1kk0f16nhvaitixx79bnn -1431651155
+$> diff -U 3 user_output_test12 test12.output | cat -e
+
+Diff OK :D
+= Test 13 ==================================================
+$> ./cy5gs1nd6hg2dv1kj4wq69k4 -795113048
+$> diff -U 3 user_output_test13 test13.output | cat -e
+
+Diff OK :D
+= Test 14 ==================================================
+$> ./b8anyi7uw8w54ozysfe4c7xu -1074627657
+$> diff -U 3 user_output_test14 test14.output | cat -e
+
+Diff OK :D
+= Test 15 ==================================================
+$> ./y3aay5vvyuqgpt7pxsn73p5d -534138154
+$> diff -U 3 user_output_test15 test15.output | cat -e
+
+Diff OK :D
+= Test 16 ==================================================
+$> ./7okhq227013a5fvxed41in8z -1870913365
+$> diff -U 3 user_output_test16 test16.output | cat -e
+
+Diff OK :D
+= Test 17 ==================================================
+$> ./gbx3tjvqv96qes54lsorfrx1 -693151582
+$> diff -U 3 user_output_test17 test17.output | cat -e
+
+Diff OK :D
+= Test 18 ==================================================
+$> ./u5w0ipo8b8mqlizlitmuomv1 -1588217085
+$> diff -U 3 user_output_test18 test18.output | cat -e
+
+Diff OK :D
+= Test 19 ==================================================
+$> ./hkrfzy0re8mg38lkj62sq3dq -1136243523
+$> diff -U 3 user_output_test19 test19.output | cat -e
+
+Diff OK :D
+= Test 20 ==================================================
+$> ./i041ni9qy52eullsbton5yr4 -1280114021
+$> diff -U 3 user_output_test20 test20.output | cat -e
+
+Diff OK :D
+Grade: 1
+
+= Final grade: 1 ===============================================================