init
This commit is contained in:
55
exam-basedir03/docs/GUIDELINES.en.md
Normal file
55
exam-basedir03/docs/GUIDELINES.en.md
Normal file
@@ -0,0 +1,55 @@
|
||||
# General guidelines
|
||||
|
||||
* No communication whatsoever is allowed.
|
||||
|
||||
* This is an exam, you don't have a right to chat, listen to music, make noise, or generally do anything that may disturb the other students in any way.
|
||||
|
||||
* Your phones and other technological devices must be turned off and put away. If a phone rings, the whole row will be disqualified from the exam and kicked out immediately.
|
||||
|
||||
* Your home directory contains three directories : "rendu", "subjects" and "traces".
|
||||
|
||||
* The "subjects" directory will contain the subjects of your assignments
|
||||
|
||||
* The "rendu" folder is a clone of your Git turn-in repository. You will work in it, and use it as any regular Git repository.
|
||||
|
||||
* The system will not grade anything that is not pushed on your Git turn-in repository, and at the right place. Pay attention to where examshell tells you to put your files.
|
||||
|
||||
* You can only run your programs in the "rendu" directory or one of its subdirectories.
|
||||
|
||||
* You may need to read the man to carry out some assignments...
|
||||
|
||||
* You will be graded by a program. You must respect the specified file/path/function names to the letter.
|
||||
|
||||
* Assignments will always specify which files will be collected :
|
||||
|
||||
* When an assignment asks for specific files, they will be explicitly named. For example "file1.c file1.h".
|
||||
|
||||
* Otherwise, when filenames and/or the number of files is up to you, the assignment will say something along the lines of "*.c *.h".
|
||||
|
||||
* When a Makefile is required, it will ALWAYS be explicitly stated.
|
||||
|
||||
* In case of technical problem, question about the subject, or any other problem, you must get up silently and wait for a member of the staff to come to you. It is forbidden to ask your neighbors, or to verbally call for a staff member.
|
||||
|
||||
* Any equipment not explicitly allowed is implicitly forbidden.
|
||||
|
||||
* Any exit is definitive, you can not come in again.
|
||||
|
||||
* Staff members may kick you out of the exam without warning if they deem it necessary.
|
||||
|
||||
* You are allowed blank pieces of paper, and a pen. No notebooks, notes, or any help of the sort. You are alone to face this exam.
|
||||
|
||||
# Coding guidelines
|
||||
|
||||
* Useful functions and files will sometimes be given to you in the subject directory
|
||||
|
||||
* The correction is fully automated, and performed by the program we know as Deepthought.
|
||||
|
||||
* When an assignment asks you to write a program with one or more explicitly named files, it will be compiled with the following command: clang -Wall -Wextra -Werror file1.c file2.c file3.c -o program_name.
|
||||
|
||||
* When the assignment leaves the filenames up to you, it will be compiled with: clang -Wall -Wextra -Werror *.c -o program_name.
|
||||
|
||||
* Finally, when you must only turn in a function (so, one file), it will be compiled with clang -c -Wall -Wextra -Werror yourfile.c, then we will compile our main function and link them together to create a test program.
|
||||
|
||||
* Allowed functions will be specified in the headers of the assignments. You may recode any other function you think is necessary. Using a function that's not explicitly allowed is considered cheating, and will result in a failing grade, with no possible discussion or appeal whatsoever. You've been warned.
|
||||
|
||||
* Any function that isn't explicitly allowed is implicitly forbidden.
|
||||
54
exam-basedir03/docs/GUIDELINES.fr.md
Normal file
54
exam-basedir03/docs/GUIDELINES.fr.md
Normal file
@@ -0,0 +1,54 @@
|
||||
# Consignes générales
|
||||
|
||||
* Aucune communication, quelle qu'elle soit, n'est permise
|
||||
|
||||
* Ceci est un examen, il est interdit de discuter, écouter de la musique, faire du bruit, ou de façon générale de faire quoi que ce soit qui puisse perturber le travail des autres étudiants.
|
||||
|
||||
* Vos téléphones et autres appareils technologiques doivent être éteints et rangés. Pas en silencieux, éteints. Si un téléphone sonne, toute la rangée sera exclue immédiatement de l'examen.
|
||||
|
||||
* Votre répertoire home contient trois répertoires : "rendu", "subjects" et "traces".
|
||||
|
||||
* Le répertoire "subjects" contiendra les sujets de vos exercices
|
||||
|
||||
* Le répertoire "rendu" contiendra un clone de votre dépôt Git de rendu. Vous y travaillerez, et l'utiliserez comme n'importe quel autre dépôt Git de rendu.
|
||||
|
||||
* Le système ne corrigera rien qui n'est pas push sur votre dépôt de rendu à l'endroit correct. Faites attention à ce qu'examshell vous dit concernant les emplacements de rendu.
|
||||
|
||||
* Vous ne pouvez lancer vos propres programmes que dans le répertoire "rendu" ou l'un de ses sous-répertoires.
|
||||
|
||||
* Vous aurez peut-être besoin de lire les man pour certains exercices ...
|
||||
|
||||
* Vous aller être corrigé par un programme. Vous devez donc respecter à la lettre les noms de fichiers/fonctions qui vous sont imposés.
|
||||
|
||||
* Les exercices spécifient toujours les noms de fichiers qui vous sont demandés:
|
||||
|
||||
* Quand on vous demande des fichiers spécifiques, ils seront nommés explicitement, par exemple "file1.c file1.h"
|
||||
|
||||
* Quand les noms et le nombre de fichier sont à votre discrétion, on dira quelque chose comme "*.c *.h"
|
||||
|
||||
* Quand il faut un Makefile, ce sera toujours explicitement précisé
|
||||
|
||||
* En cas de problème technique, de question sur un sujet, ou tout autre souci, vous devez vous lever EN SILENCE et attendre qu'un membre du staff vienne vous voir. Il est interdit de demander à vos voisins, ou d'appeler verbalement un membre du staff.
|
||||
|
||||
* Vous avez le droit à des feuilles vierges, un stylo, et c'est tout. Pas de cahiers, carnets, ou autres. Pas d'écouteurs, de casques, de portable, etc ...
|
||||
|
||||
* Tout équipement qui n'est pas explicitement autorisé est implicitement interdit.
|
||||
|
||||
* Toute sortie est définitive.
|
||||
|
||||
* Les membres du staff peuvent vous exclure de l'examen sans préavis s'ils l'estiment nécessaire pour quelque raison que ce soit.
|
||||
|
||||
|
||||
# Consignes relative au code
|
||||
|
||||
* Des fonctions et fichiers utiles vous seront parfois donnés dans le répertoire du sujet
|
||||
|
||||
* Les corrections sont entièrement automatiques et réalisées par un programme nommé Deepthought
|
||||
|
||||
* Les programmes seront compilés avec "clang -Wall -Wextra -Werror"
|
||||
|
||||
* Quand on ne vous demande qu'une fonction, et non un programme, cela signifie que votre fichier sera compilé accompagné de notre propre main.c
|
||||
|
||||
* Les fonctions autorisées sont précisées dans les en-têtes des exercices. Vous pouvez recoder toute fonction que vous jugez nécessaire. Utiliser une fonction non-autorisée est assimilé à de la triche et résultera en un échec immédiat de l'exercice, sans appel. Vous êtes prévenu.
|
||||
|
||||
* Toute fonction qui n'est pas explicitement autorisée est implicitement interdite
|
||||
56
exam-basedir03/docs/GUIDELINES.ro.md
Normal file
56
exam-basedir03/docs/GUIDELINES.ro.md
Normal file
@@ -0,0 +1,56 @@
|
||||
#Reguli generale de urmat la examene
|
||||
|
||||
*Nici un fel de comunicare nu este permisă.
|
||||
|
||||
*Acesta este un examen, nu aveți dreptul să vorbiți, să ascultați muzică, să faceți zgomot sau să faceți ceva ce ar putea deranja pe ceilați studenți în vreun fel.
|
||||
|
||||
*Telefoanele mobile sau orice alte dispozitive trebuie să fie închise și puse deoparte. Dacă sună vreun telefon, tot rândul va fi descalificat din examen și dat afară imediat!
|
||||
|
||||
*Directorul vostru ”home” conține trei directoare: ”rendu”, ”subjects” și ”traces”.
|
||||
|
||||
*Directorul ”subjects” va conține subiectul examenului vostru.
|
||||
|
||||
*Directorul ”rendu” este o clonă a Git-ului vostru ”turn-in repository”. Veți lucra în el, și poate fi utilizat ca orice depozit Git regulat.
|
||||
|
||||
*Sistemul nu va nota nimic ce nu este trimis pe Git ”turn-in repository” și în locul corect. Fiți foarte atenți unde ”examshell” va spune sa puneți fișierele voastre.
|
||||
|
||||
*Puteți să vă rulați programele voastre în directorul ”rendu” sau în unul din subdirectoarele lui.
|
||||
|
||||
*Este posibil să fie nevoie să citiți man-ul pentru a realiza un exercițiu.….
|
||||
|
||||
*Veți fi notați de un program. Trebuie să respectați specificațiile fisierului / căii (path) / numele funcțiilor EXACT așa cum este cerut.
|
||||
|
||||
*Exercițiile vor specifica întotdeauna ce fișiere vor fi corectate:
|
||||
|
||||
* Când un exercițiu cere un anumit fișier, acesta va fi numit explicit. De exemplu ”file1.c” sau ”file1.h”
|
||||
|
||||
* Altfel, când numele sau numărul de fișiere este la latitudinea voastră, exercițiul va specifica ceva de genul ”*.c” sau ”*.h”
|
||||
|
||||
* Când un ”Makefile” este cerut, va fi ÎNTOTDEAUNA specificată starea lui.
|
||||
|
||||
* În cazul unei defecțiuni tehnice, întrebări despre subiect sau orice altă problemă, trebuie să te ridici în picioare, în liniște și să aștepți ca un membru al staff-ului sa vină la tine. Este interzis să îți întrebi vecinii sau să strigi după un membru al staff-ului.
|
||||
|
||||
* Oricei echipament care nu este explicit permis, este implicit interzis.
|
||||
|
||||
* Orice părăsire a sălii de examinare este definitivă, nu te mai poți întoarce.
|
||||
|
||||
* Membri staff-ului vă pot da afară din examen, fără avertisment, în cazul în care consideră necesar.
|
||||
|
||||
* Vă este permisă intrarea în sală cu o hartie albă și un pix, Fără caiete, notițe sau orice alt ajutor de acest fel. Ești singur ca să înfrunți acest examen.
|
||||
|
||||
# Reguli pentru codare
|
||||
|
||||
* Funcții folositoare sau fișiere vor fi date, câteodată, în directorul subiectului.
|
||||
|
||||
* Corectarea este complet automată și se face de către un program pe care îl numim ”Deepthought”
|
||||
|
||||
* Când un exercițiu îți cere să scrii un program cu unul sau mai multe nume de fișiere date explicit, va fi compliat cu următoarea comandă: ”clang -Wall -Wextra -Werror file1.c file2.c file3.c -o nume_program”.
|
||||
|
||||
* Cand exercitiul lasa la latitudinea voastra numele fisierelor, exercitiul va fi compilat cu: clang -Wall -Wextra -Werror *.c -o program_name
|
||||
|
||||
* Când trebuie doar să trimiteți o funcție (adică un fișier) va fi compilat cu ”clang -c -Wall -Wextra -Werror yourfile.c” apoi noi vom compila funcția noastră principală și le vom lega împreună pentru a crea un program de test.
|
||||
|
||||
* Funcțiile permise vor fi specificate în antetele fiecărui exercițiu. Puteți recoda orice altă funcție credeți că este necesar. Folosirea unei funcții care nu este permisă în mod explicit este considerată trișare, și va duce la nepromovarea examenului, fără drept la discuții sau contenstații. Ați fost avertizați.
|
||||
|
||||
*Orice funcție, care nu este permisă în mod explicit, este implicit interzisă
|
||||
|
||||
1
exam-basedir03/rendu
Submodule
1
exam-basedir03/rendu
Submodule
Submodule exam-basedir03/rendu added at e0802ac7c8
8
exam-basedir03/subjects/aff_z/examples.txt
Normal file
8
exam-basedir03/subjects/aff_z/examples.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
$> ./aff_z "abc" | cat -e
|
||||
z$
|
||||
$> ./aff_z "dubO a POIL" | cat -e
|
||||
z$
|
||||
$> ./aff_z "zaz sent le poney" | cat -e
|
||||
z$
|
||||
$> ./aff_z | cat -e
|
||||
z$
|
||||
21
exam-basedir03/subjects/aff_z/subject.en.txt
Normal file
21
exam-basedir03/subjects/aff_z/subject.en.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
Assignment name : aff_z
|
||||
Expected files : aff_z.c
|
||||
Allowed functions: write
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Write a program that takes a string, and displays the first 'z'
|
||||
character it encounters in it, followed by a newline. If there are no
|
||||
'z' characters in the string, the program writes 'z' followed
|
||||
by a newline. If the number of parameters is not 1, the program displays
|
||||
'z' followed by a newline.
|
||||
|
||||
Example:
|
||||
|
||||
$> ./aff_z "abc" | cat -e
|
||||
z$
|
||||
$> ./aff_z "RaInB0w d4Sh!" | cat -e
|
||||
z$
|
||||
$> ./aff_z "ThE C4k3 Is a L|3" | cat -e
|
||||
z$
|
||||
$> ./aff_z | cat -e
|
||||
z$
|
||||
22
exam-basedir03/subjects/aff_z/subject.fr.txt
Normal file
22
exam-basedir03/subjects/aff_z/subject.fr.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
Assignment name : aff_z
|
||||
Expected files : aff_z.c
|
||||
Allowed functions: write
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Écrire un programme qui prend en paramètre une chaîne de caractères, et qui
|
||||
affiche sur la sortie standard le premier caractère 'z' rencontré dans
|
||||
cette chaîne, suivi de '\n'. Si aucun 'z'
|
||||
n'est rencontré dans la chaîne, le programme affiche 'z' suivi de
|
||||
'\n'. Si le nombre de paramètres est différent de 1, le
|
||||
programme affiche 'z' suivi de '\n'.
|
||||
|
||||
Exemple:
|
||||
|
||||
$> ./aff_z "abc" | cat -e
|
||||
z$
|
||||
$> ./aff_z "dubO a POIL" | cat -e
|
||||
z$
|
||||
$> ./aff_z "zaz sent le poney" | cat -e
|
||||
z$
|
||||
$> ./aff_z | cat -e
|
||||
z$
|
||||
19
exam-basedir03/subjects/aff_z/subject.ro.txt
Normal file
19
exam-basedir03/subjects/aff_z/subject.ro.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
Exercitiu : aff_z
|
||||
Fisiere de iesire : aff_z.c
|
||||
Functii autorizate : write
|
||||
--------------------------------------------------------------------------------
|
||||
Scrieti un program ce ia ca parametru un sir de caractere, si care afiseaza la
|
||||
iesirea standard primul caracter 'z' intalnit in acest sir, urmat de '\n'. Daca
|
||||
nu este intalnit niciun caracter 'z', programul va afisa 'z' urmat de '\n'. Daca
|
||||
numarul de parametri este diferit de 1, programul va afisa 'z' urmat de '\n'.
|
||||
|
||||
Example:
|
||||
|
||||
$> ./aff_z "abc" | cat -e
|
||||
z$
|
||||
$> ./aff_z "dubO a POIL" | cat -e
|
||||
z$
|
||||
$> ./aff_z "zaz sent le poney" | cat -e
|
||||
z$
|
||||
$> ./aff_z | cat -e
|
||||
z$
|
||||
6
exam-basedir03/subjects/brainfuck/examples.txt
Normal file
6
exam-basedir03/subjects/brainfuck/examples.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
$>./brainfuck "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." | cat -e
|
||||
Hello World!$
|
||||
$>./brainfuck "+++++[>++++[>++++H>+++++i<<-]>>>++\n<<<<-]>>--------.>+++++.>." | cat -e
|
||||
Hi$
|
||||
$>./brainfuck | cat -e
|
||||
$
|
||||
32
exam-basedir03/subjects/brainfuck/subject.en.txt
Normal file
32
exam-basedir03/subjects/brainfuck/subject.en.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
Assignment name : brainfuck
|
||||
Expected files : *.c, *.h
|
||||
Allowed functions: write, malloc, free
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Write a Brainfuck interpreter program.
|
||||
The source code will be given as first parameter.
|
||||
The code will always be valid, with no more than 4096 operations.
|
||||
Brainfuck is a minimalist language. It consists of an array of bytes
|
||||
(in our case, let's say 2048 bytes) initialized to zero,
|
||||
and a pointer to its first byte.
|
||||
|
||||
Every operator consists of a single character :
|
||||
- '>' increment the pointer ;
|
||||
- '<' decrement the pointer ;
|
||||
- '+' increment the pointed byte ;
|
||||
- '-' decrement the pointed byte ;
|
||||
- '.' print the pointed byte on standard output ;
|
||||
- '[' go to the matching ']' if the pointed byte is 0 (while start) ;
|
||||
- ']' go to the matching '[' if the pointed byte is not 0 (while end).
|
||||
|
||||
Any other character is a comment.
|
||||
|
||||
Examples:
|
||||
|
||||
$>./brainfuck "++++++++++[>+++++++>++++++++++>+++>+<<<<-]
|
||||
>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." | cat -e
|
||||
Hello World!$
|
||||
$>./brainfuck "+++++[>++++[>++++H>+++++i<<-]>>>++\n<<<<-]>>--------.>+++++.>." | cat -e
|
||||
Hi$
|
||||
$>./brainfuck | cat -e
|
||||
$
|
||||
32
exam-basedir03/subjects/brainfuck/subject.fr.txt
Normal file
32
exam-basedir03/subjects/brainfuck/subject.fr.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
Assignment name : brainfuck
|
||||
Expected files : *.c, *.h
|
||||
Allowed functions: write, malloc, free
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Écrire un programme capable d'interpréter du Brainfuck.
|
||||
Le code source sera passé en premier paramètre.
|
||||
Le code transmis sera toujours valide, et ne comportera pas plus de 4096 opérations.
|
||||
Le Brainfuck est un langage minimaliste constitué d'un tableau d'octets
|
||||
(dans le cadre de cet exercice, 2048 octets) tous initialisés à 0,
|
||||
et d'un pointeur sur son premier octet.
|
||||
|
||||
Voici les différents opérateurs du Brainfuck :
|
||||
- '>' incrémente le pointeur ;
|
||||
- '<' décrémente le pointeur ;
|
||||
- '+' incrémente l'octet pointé ;
|
||||
- '-' décrémente l'octet pointé ;
|
||||
- '.' affiche l'octet pointé sur la sortie standard ;
|
||||
- '[' va au ']' correspondant si l'octet pointé est égal à 0 (début de boucle) ;
|
||||
- ']' va au '[' correspondant si l'octet pointé est différent de 0 (fin de boucle).
|
||||
|
||||
Tout autre caractère est un commentaire.
|
||||
|
||||
Exemples:
|
||||
|
||||
$>./brainfuck "++++++++++[>+++++++>++++++++++>+++>+<<<<-]
|
||||
>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." | cat -e
|
||||
Hello World!$
|
||||
$>./brainfuck "+++++[>++++[>++++H>+++++i<<-]>>>++\n<<<<-]>>--------.>+++++.>." | cat -e
|
||||
Hi$
|
||||
$>./brainfuck | cat -e
|
||||
$
|
||||
32
exam-basedir03/subjects/brainfuck/subject.ro.txt
Normal file
32
exam-basedir03/subjects/brainfuck/subject.ro.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
Exercitiu : brainfuck
|
||||
Fisiere de iesire : *.c, *.h
|
||||
Functii autorizate : write, malloc, free
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Scrieti un interpretor de programe numit Brainfuck.
|
||||
Codul sursa va fi dat ca primul argument.
|
||||
Codul va fi mereu valid, cu cel mult 4096 operatii.
|
||||
Barinfuck este un limbaj minimal. Contine un vector de bytes
|
||||
(pentru acest exercitiu, 2048 bytes) initializati cu zero, si
|
||||
un pointer spre primul byte.
|
||||
|
||||
Fiecare operator consista dintr-un singur caracter:
|
||||
- '>' incrementeaza pointerul ;
|
||||
- '<' decrementeaza pointerul ;
|
||||
- '+' incrementeaza byte-ul la care pointeaza ;
|
||||
- '-' decrementeaza byte-ul la care pointeaza ;
|
||||
- '.' printeaza la iesirea standard byte-ul spre care pointeaza ;
|
||||
- '[' du-te la perechea ']' byte-ul la care pointeaza e 0 (while start) ;
|
||||
- ']' du-te la perechea '[' byte-ul la care pointeaza nu e 0 (while end).
|
||||
|
||||
Orice alt caracter este un comentariu.
|
||||
|
||||
Examples:
|
||||
|
||||
$>./brainfuck "++++++++++[>+++++++>++++++++++>+++>+<<<<-]
|
||||
>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." | cat -e
|
||||
Hello World!$
|
||||
$>./brainfuck "+++++[>++++[>++++H>+++++i<<-]>>>++\n<<<<-]>>--------.>+++++.>." | cat -e
|
||||
Hi$
|
||||
$>./brainfuck | cat -e
|
||||
$
|
||||
60
exam-basedir03/subjects/flood_fill/subject.en.txt
Normal file
60
exam-basedir03/subjects/flood_fill/subject.en.txt
Normal file
@@ -0,0 +1,60 @@
|
||||
Assignment name : flood_fill
|
||||
Expected files : *.c, *.h
|
||||
Allowed functions: -
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Write a function that takes a char ** as a 2-dimensional array of char, a
|
||||
t_point as the dimensions of this array and a t_point as the starting point.
|
||||
|
||||
Starting from the given 'begin' t_point, this function 'colors' an entire zone
|
||||
by replacing characters inside by the character 'F'. A zone is an ensemble of
|
||||
the same character delimitated horizontally and vertically by other characters.
|
||||
|
||||
The flood_fill function won't 'color' in diagonal.
|
||||
|
||||
The flood_fill function will be prototyped like this:
|
||||
void flood_fill(char **tab, t_point size, t_point begin);
|
||||
|
||||
The t_point structure is available inside the "t_point.h" file attached to this
|
||||
assignment. We will use our "t_point.h" for graduation.
|
||||
|
||||
Example :
|
||||
|
||||
$> cat test_main.c
|
||||
#include "test_functions.h"
|
||||
#include "flood_fill.h"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
char **area;
|
||||
t_point size = { 8, 5 };
|
||||
t_point begin = { 2, 2 };
|
||||
char *zone[] = {
|
||||
"11111111",
|
||||
"10001001",
|
||||
"10010001",
|
||||
"10110001",
|
||||
"11100001"
|
||||
};
|
||||
|
||||
area = make_area(zone);
|
||||
print_tab(area);
|
||||
flood_fill(area, size, begin);
|
||||
putc('\n');
|
||||
print_tab(area);
|
||||
return (0);
|
||||
}
|
||||
|
||||
$> gcc flood_fill.c test_main.c test_functions.c -o flood_fill ; ./flood_fill
|
||||
1 1 1 1 1 1 1 1
|
||||
1 0 0 0 1 0 0 1
|
||||
1 0 0 1 0 0 0 1
|
||||
1 0 1 1 0 0 0 1
|
||||
1 1 1 0 0 0 0 1
|
||||
|
||||
1 1 1 1 1 1 1 1
|
||||
1 F F F 1 0 0 1
|
||||
1 F F 1 0 0 0 1
|
||||
1 F 1 1 0 0 0 1
|
||||
1 1 1 0 0 0 0 1
|
||||
$>
|
||||
62
exam-basedir03/subjects/flood_fill/subject.fr.txt
Normal file
62
exam-basedir03/subjects/flood_fill/subject.fr.txt
Normal file
@@ -0,0 +1,62 @@
|
||||
Assignment name : flood_fill
|
||||
Expected files : *.c, *.h
|
||||
Allowed functions: -
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Ecrivez une fonction qui prends en paramètres un char** qui sera une aire à 2
|
||||
dimensions, une structure de type t_point qui donnera la longueur et la largeur
|
||||
de cette aire, et une structure de type t_point symbolisant le point de départ.
|
||||
|
||||
Cette fonction devra 'colorer' une zone de l'aire donnée en argument, en
|
||||
remplaçant les caractères de cette zone par des 'F'. Une zone est un ensemble
|
||||
de mêmes caractères, délimitée horizontalement et verticalement par d'autres
|
||||
caractères.
|
||||
|
||||
La fonction flood_fill ne 'colore' pas en diagonale.
|
||||
|
||||
La fonction flood_fill devra être prototypée comme suit :
|
||||
void flood_fill(char **tab, t_point size, t_point begin);
|
||||
|
||||
La structure t_point est présente dans le fichier "t_point.h" mis en annexe
|
||||
de ce sujet. Nous utiliserons notre "t_point.h" pour le rendu.
|
||||
|
||||
Exemple:
|
||||
|
||||
$>cat test_main.c
|
||||
#include "test_functions.h"
|
||||
#include "t_point.h"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
char **area;
|
||||
t_point size = { 8, 5 };
|
||||
t_point begin = { 2, 2 };
|
||||
char *zone[] = {
|
||||
"11111111",
|
||||
"10001001",
|
||||
"10010001",
|
||||
"10110001",
|
||||
"11100001"
|
||||
};
|
||||
|
||||
area = make_area(zone);
|
||||
print_tab(area);
|
||||
flood_fill(area, size, begin);
|
||||
putc('\n');
|
||||
print_tab(area);
|
||||
return (0);
|
||||
}
|
||||
|
||||
$> gcc flood_fill.c test_main.c test_functions.c -o flood_fill ; ./flood_fill
|
||||
1 1 1 1 1 1 1 1
|
||||
1 0 0 0 1 0 0 1
|
||||
1 0 0 1 0 0 0 1
|
||||
1 0 1 1 0 0 0 1
|
||||
1 1 1 0 0 0 0 1
|
||||
|
||||
1 1 1 1 1 1 1 1
|
||||
1 F F F 1 0 0 1
|
||||
1 F F 1 0 0 0 1
|
||||
1 F 1 1 0 0 0 1
|
||||
1 1 1 0 0 0 0 1
|
||||
$>
|
||||
10
exam-basedir03/subjects/flood_fill/t_point.h
Normal file
10
exam-basedir03/subjects/flood_fill/t_point.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef T_POINT_FLOOD_FILL
|
||||
# define T_POINT_FLOOD_FILL
|
||||
|
||||
typedef struct s_point {
|
||||
int x; // x : Width | x-axis
|
||||
int y; // y : Height | y-axis
|
||||
} t_point;
|
||||
|
||||
#endif
|
||||
|
||||
20
exam-basedir03/subjects/ft_atoi_base/subject.en.txt
Normal file
20
exam-basedir03/subjects/ft_atoi_base/subject.en.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
Assignment name : ft_atoi_base
|
||||
Expected files : ft_atoi_base.c
|
||||
Allowed functions: None
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Write a function that converts the string argument str (base N <= 16)
|
||||
to an integer (base 10) and returns it.
|
||||
|
||||
The characters recognized in the input are: 0123456789abcdef
|
||||
Those are, of course, to be trimmed according to the requested base. For
|
||||
example, base 4 recognizes "0123" and base 16 recognizes "0123456789abcdef".
|
||||
|
||||
Uppercase letters must also be recognized: "12fdb3" is the same as "12FDB3".
|
||||
|
||||
Minus signs ('-') are interpreted only if they are the first character of the
|
||||
string.
|
||||
|
||||
Your function must be declared as follows:
|
||||
|
||||
int ft_atoi_base(const char *str, int str_base);
|
||||
21
exam-basedir03/subjects/ft_atoi_base/subject.fr.txt
Normal file
21
exam-basedir03/subjects/ft_atoi_base/subject.fr.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
Assignment name : ft_atoi_base
|
||||
Expected files : ft_atoi_base.c
|
||||
Allowed functions: None
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Écrire une fonction qui convertit son argument 'str', une chaîne (en base N <= 16)
|
||||
en un entier (base 10) et le retourne.
|
||||
|
||||
Les caractères reconnus dans l'entrée sont : 0123456789abcdef
|
||||
Bien entendu, la base demandée conditionne le nombre de caractères à prendre
|
||||
en compte. Par exemple, la base 4 reconnaîtra "0123" et la base 16 reconnaîtra
|
||||
"0123456789abcdef".
|
||||
|
||||
Les majuscules marchent aussi : "12fdb3" est pareil que "12FDB3".
|
||||
|
||||
Les caractères '-' doivent être interprétés seulement s'ils sont en première
|
||||
position dans la chaîne.
|
||||
|
||||
Votre fonction sera déclarée comme suit:
|
||||
|
||||
int ft_atoi_base(const char *str, int str_base);
|
||||
11
exam-basedir03/subjects/ft_itoa/subject.en.txt
Normal file
11
exam-basedir03/subjects/ft_itoa/subject.en.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
Assignment name : ft_itoa
|
||||
Expected files : ft_itoa.c
|
||||
Allowed functions: malloc
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Write a function that takes an int and converts it to a null-terminated string.
|
||||
The function returns the result in a char array that you must allocate.
|
||||
|
||||
Your function must be declared as follows:
|
||||
|
||||
char *ft_itoa(int nbr);
|
||||
12
exam-basedir03/subjects/ft_itoa/subject.fr.txt
Normal file
12
exam-basedir03/subjects/ft_itoa/subject.fr.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Assignment name : ft_itoa
|
||||
Expected files : ft_itoa.c
|
||||
Allowed functions: malloc
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Écrire une fonction qui prend un int et le convertit en chaîne terminée par un
|
||||
caractère nul. Cette fonction retourne le résultat en tant qu'un tableau de
|
||||
char que vous devez allouer.
|
||||
|
||||
Votre fonction sera déclarée comme suit:
|
||||
|
||||
char *ft_itoa(int nbr);
|
||||
10
exam-basedir03/subjects/ft_itoa/subject.ro.txt
Normal file
10
exam-basedir03/subjects/ft_itoa/subject.ro.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Assignment name : ft_itoa
|
||||
Expected files : ft_itoa.c
|
||||
Allowed functions: malloc
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Scrieti o functie care primeste un int si il converteste intr-un sir de caractere, care se termina cu null. Functia returneaza resultatul intr-un vector de char pe care trebuie sa il alocati.
|
||||
|
||||
Functia trebuie declarata ca si mai jos:
|
||||
|
||||
char *ft_itoa(int nbr);
|
||||
13
exam-basedir03/subjects/ft_putstr/subject.en.txt
Normal file
13
exam-basedir03/subjects/ft_putstr/subject.en.txt
Normal file
@@ -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);
|
||||
12
exam-basedir03/subjects/ft_putstr/subject.fr.txt
Normal file
12
exam-basedir03/subjects/ft_putstr/subject.fr.txt
Normal file
@@ -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);
|
||||
12
exam-basedir03/subjects/ft_putstr/subject.ro.txt
Normal file
12
exam-basedir03/subjects/ft_putstr/subject.ro.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Exercitiu : ft_putstr
|
||||
Fisiere de iesire : ft_putstr.c
|
||||
Functii autorizate : write
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Scrieti o functie ce afiseaza un sir de caractere la iesirea standard.
|
||||
|
||||
Pointerul catre functie este adresa primului caracter al sirului.
|
||||
|
||||
Ea trebuie sa aiba prototipul urmator:
|
||||
|
||||
void ft_putstr(char *str);
|
||||
19
exam-basedir03/subjects/ft_rrange/subject.en.txt
Normal file
19
exam-basedir03/subjects/ft_rrange/subject.en.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
Assignment name : ft_rrange
|
||||
Expected files : ft_rrange.c
|
||||
Allowed functions: malloc
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Write the following function:
|
||||
|
||||
int *ft_rrange(int start, int end);
|
||||
|
||||
It must allocate (with malloc()) an array of integers, fill it with consecutive
|
||||
values that begin at end and end at start (Including start and end !), then
|
||||
return a pointer to the first value of the array.
|
||||
|
||||
Examples:
|
||||
|
||||
- With (1, 3) you will return an array containing 3, 2 and 1
|
||||
- With (-1, 2) you will return an array containing 2, 1, 0 and -1.
|
||||
- With (0, 0) you will return an array containing 0.
|
||||
- With (0, -3) you will return an array containing -3, -2, -1 and 0.
|
||||
19
exam-basedir03/subjects/ft_rrange/subject.fr.txt
Normal file
19
exam-basedir03/subjects/ft_rrange/subject.fr.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
Assignment name : ft_rrange
|
||||
Expected files : ft_rrange.c
|
||||
Allowed functions: malloc
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Écrire la fonction suivante :
|
||||
|
||||
int *ft_rrange(int start, int end);
|
||||
|
||||
Cette fonction doit allouer avec malloc() un tableau d'ints, le remplir avec
|
||||
les valeurs (consécutives) démarrant à end et finissant à start (start et end
|
||||
inclus !), et renvoyer un pointeur vers la première valeur du tableau.
|
||||
|
||||
Exemples:
|
||||
|
||||
- Avec (1, 3) vous devrez renvoyer un tableau contenant 3, 2 et 1.
|
||||
- Avec (-1, 2) vous devrez renvoyer un tableau contenant 2, 1, 0 et -1.
|
||||
- Avec (0, 0) vous devrez renvoyer un tableau contenant 0.
|
||||
- Avec (0, -3) vous devrez renvoyer un tableau contenant -3, -2, -1 et 0.
|
||||
22
exam-basedir03/subjects/ft_rrange/subject.ro.txt
Normal file
22
exam-basedir03/subjects/ft_rrange/subject.ro.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
Exercitiu : ft_rrange
|
||||
Fisier de iesire : ft_rrange.c
|
||||
Functii autorizate : malloc
|
||||
--------------------------------------------------------------------------------
|
||||
Scrieti functia urmatoare:
|
||||
|
||||
int *ft_rrange(int start, int end);
|
||||
|
||||
Aceasta functie trebuie sa aloce cu ajutorul functiei malloc() un tablou de
|
||||
intregi si sa-l umple valori (consecutive) incepand cu endsi terminand cu start
|
||||
(start si end incluse!), si sa returneze un pointer spre prima valoare a tabloului.
|
||||
|
||||
Exemplu:
|
||||
|
||||
|
||||
Cu parametri (1, 3) trebuie sa returnati un tablou continand valorile 3, 2 si 1.
|
||||
|
||||
Cu parametri (-1, 2) trebuie sa returnati un tablou continand valorile 2, 1, 0 si -1.
|
||||
|
||||
Cu parametri (0, 0) trebuie sa returnati un tablou continand valorile 0.
|
||||
|
||||
Cu parametri (0, -3) trebuie sa returnati un tablou continand valorile -3, -2, -1 si 0.
|
||||
14
exam-basedir03/subjects/ft_split/subject.en.txt
Normal file
14
exam-basedir03/subjects/ft_split/subject.en.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
Assignment name : ft_split
|
||||
Expected files : ft_split.c
|
||||
Allowed functions: malloc
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Write a function that takes a string, splits it into words, and returns them as
|
||||
a NULL-terminated array of strings.
|
||||
|
||||
A "word" is defined as a part of a string delimited either by spaces/tabs/new
|
||||
lines, or by the start/end of the string.
|
||||
|
||||
Your function must be declared as follows:
|
||||
|
||||
char **ft_split(char *str);
|
||||
16
exam-basedir03/subjects/ft_split/subject.fr.txt
Normal file
16
exam-basedir03/subjects/ft_split/subject.fr.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
Assignment name : ft_split
|
||||
Expected files : ft_split.c
|
||||
Allowed functions: malloc
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Écrire une fonction qui prend en paramètre une chaîne de caractères et la
|
||||
découpe en mots, qui seront retournés sous la forme d'un tableau de chaînes
|
||||
terminé par NULL.
|
||||
|
||||
On appelle "mot" une portion de chaîne de caractères délimitée soit par des
|
||||
espaces, des retours à la ligne et/ou des tabulations, soit par le début / fin
|
||||
de la chaîne.
|
||||
|
||||
Votre fonction devra être prototypée de la façon suivante :
|
||||
|
||||
char **ft_split(char *str);
|
||||
15
exam-basedir03/subjects/ft_split/subject.ro.txt
Normal file
15
exam-basedir03/subjects/ft_split/subject.ro.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
Exercitiu : ft_split
|
||||
Fisier de iesire : ft_split.c
|
||||
Functii autorizate : malloc
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Scrieti o functie ce ia ca parametru un sir de caractere si pe care il separa
|
||||
in cuvinte, ce vor fi returnate sub forma unui tablou siruri terminate cu NULL.
|
||||
|
||||
Numim "cuvant" o portiune a a sirului de caractere delimitate de fie de spatii
|
||||
si/sau tabulatoare, fie de inceputul/sfarsitul sirului.
|
||||
|
||||
Functia va trebui sa aiba urmatorul prototip:
|
||||
|
||||
char **ft_split(char *str);
|
||||
|
||||
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.
|
||||
29
exam-basedir03/subjects/moment/subject.en.txt
Normal file
29
exam-basedir03/subjects/moment/subject.en.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
Assignment name : moment
|
||||
Expected files : moment.c
|
||||
Allowed functions: malloc, free
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Create a function that takes a duration in seconds as parameter and returns a
|
||||
string with the number of seconds, minutes, hours, days or months elapsed.
|
||||
This function supposes that months are 30-days long and ignores leap years.
|
||||
|
||||
The format of this string will be :
|
||||
|
||||
xxx {second(s)|minute(s)|hour(s)|day(s)|month(s)} ago.
|
||||
|
||||
Your function should return the lowest possible value (as you can see below
|
||||
in the examples).
|
||||
|
||||
The prototype of this function will be :
|
||||
|
||||
char *moment(unsigned int duration)
|
||||
|
||||
Examples:
|
||||
|
||||
moment(0) => 0 seconds ago.
|
||||
moment(1) => 1 second ago.
|
||||
moment(30) => 30 seconds ago.
|
||||
moment(65) => 1 minute ago.
|
||||
moment(120) => 2 minutes ago.
|
||||
moment(2400) => 40 minutes ago.
|
||||
moment(3735) => 1 hour ago.
|
||||
28
exam-basedir03/subjects/moment/subject.fr.txt
Normal file
28
exam-basedir03/subjects/moment/subject.fr.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
Assignment name : moment
|
||||
Expected files : moment.c
|
||||
Allowed functions: malloc, free
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Créer une fonction qui prends un unsigned int en paramètre, représentant une
|
||||
potentielle durée en secondes, et renvoie une chaîne de caractères qui indique le
|
||||
nombre de secondes / minutes / heures / jours ou mois écoulés.
|
||||
On supposera que les mois font 30 jours de long et on ignore les années bissextiles.
|
||||
|
||||
Le format de sortie sera :
|
||||
|
||||
xxx {second(s)|minute(s)|hour(s)|day(s)|month(s)} ago.
|
||||
|
||||
Votre fonction ne renverra que la durée avec la valeur la plus basse possible.
|
||||
La fonction sera prototypée comme suit:
|
||||
|
||||
char *moment(unsigned int duration)
|
||||
|
||||
Exemples:
|
||||
|
||||
moment(0) => 0 seconds ago.
|
||||
moment(1) => 1 second ago.
|
||||
moment(30) => 30 seconds ago.
|
||||
moment(65) => 1 minute ago.
|
||||
moment(120) => 2 minutes ago.
|
||||
moment(2400) => 40 minutes ago.
|
||||
moment(3735) => 1 hour ago.
|
||||
29
exam-basedir03/subjects/rev_wstr/subject.en.txt
Normal file
29
exam-basedir03/subjects/rev_wstr/subject.en.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
Assignment name : rev_wstr
|
||||
Expected files : rev_wstr.c
|
||||
Allowed functions: write, malloc, free
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Write a program that takes a string as a parameter, and prints its words in
|
||||
reverse order.
|
||||
|
||||
A "word" is a part of the string bounded by spaces and/or tabs, or the
|
||||
begin/end of the string.
|
||||
|
||||
If the number of parameters is different from 1, the program will display
|
||||
'\n'.
|
||||
|
||||
In the parameters that are going to be tested, there won't be any "additional"
|
||||
spaces (meaning that there won't be additionnal spaces at the beginning or at
|
||||
the end of the string, and words will always be separated by exactly one space).
|
||||
|
||||
Examples:
|
||||
|
||||
$> ./rev_wstr "You hate people! But I love gatherings. Isn't it ironic?" | cat -e
|
||||
ironic? it Isn't gatherings. love I But people! hate You$
|
||||
$>./rev_wstr "abcdefghijklm"
|
||||
abcdefghijklm
|
||||
$> ./rev_wstr "Wingardium Leviosa" | cat -e
|
||||
Leviosa Wingardium$
|
||||
$> ./rev_wstr | cat -e
|
||||
$
|
||||
$>
|
||||
29
exam-basedir03/subjects/rev_wstr/subject.fr.txt
Normal file
29
exam-basedir03/subjects/rev_wstr/subject.fr.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
Assignment name : rev_wstr
|
||||
Expected files : rev_wstr.c
|
||||
Allowed functions: write, malloc, free
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Écrire un programme qui prend en paramètre une chaîne de caractères, et qui
|
||||
affiche cette chaîne en inversant ses mots.
|
||||
|
||||
On appelle "mot" une portion de chaîne de caractères délimitée soit par des
|
||||
espaces et/ou des tabulations, soit par le début / fin de la chaîne.
|
||||
|
||||
Si le nombre de paramètres est différent de 1, le programme devra afficher
|
||||
'\n'.
|
||||
|
||||
Dans les paramètres qui seront testés, il n'y aura pas d'espaces "en trop"
|
||||
(comprendre par là qu'il n'y aura pas d'espaces au début ou à la fin de la
|
||||
chaîne, et que les mots seront toujours séparés par exactement un espace).
|
||||
|
||||
Exemple:
|
||||
|
||||
$> ./rev_wstr "le temps du mepris precede celui de l'indifference" | cat -e
|
||||
l'indifference de celui precede mepris du temps le$
|
||||
$> ./rev_wstr "abcdefghijklm"
|
||||
abcdefghijklm
|
||||
$> ./rev_wstr "il contempla le mont" | cat -e
|
||||
mont le contempla il$
|
||||
$> ./rev_wstr | cat -e
|
||||
$
|
||||
$>
|
||||
27
exam-basedir03/subjects/rev_wstr/subject.ro.txt
Normal file
27
exam-basedir03/subjects/rev_wstr/subject.ro.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
Exercitiu : rev_wstr
|
||||
Fisiere de iesire : rev_wstr.c
|
||||
Functii autorizate : write, malloc, free
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Scrieti un program ce ia ca parametru un sir de caractere si care afiseaza acest
|
||||
sir inversand cuvintele sale.
|
||||
|
||||
Numim "cuvant" o portiune a sirului de caractere delimitat, fie de spatiu si/sau
|
||||
tabulator, fie de inceputul/sfarsitul sirului.
|
||||
|
||||
Daca numarul de parametri este diferit de 1, programul va afisa '\n'.
|
||||
|
||||
Sirurile ce urmeaza a fi testate nu vor contine spatii nici la inceput si nici
|
||||
la sfarsitul acestora si ca cuvintele vor fi separate intotdeauna printr-un spatiu.
|
||||
|
||||
Exemplu:
|
||||
|
||||
$> ./rev_wstr "le temps du mepris precede celui de l'indifference" | cat -e
|
||||
l'indifference de celui precede mepris du temps le$
|
||||
$> ./rev_wstr "abcdefghijklm"
|
||||
abcdefghijklm
|
||||
$> ./rev_wstr "il contempla le mont" | cat -e
|
||||
mont le contempla il$
|
||||
$> ./rev_wstr | cat -e
|
||||
$
|
||||
$>
|
||||
72
exam-basedir03/traces/0-0_aff_z.trace
Normal file
72
exam-basedir03/traces/0-0_aff_z.trace
Normal file
@@ -0,0 +1,72 @@
|
||||
= Host-specific information ====================================================
|
||||
$> hostname; uname -msr
|
||||
e3r12p13.42.fr
|
||||
Darwin 16.7.0 x86_64
|
||||
$> date
|
||||
Mon Apr 16 18:52:16 CEST 2018
|
||||
$> 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/2018/c-exam-alone-in-the-dark-beginner/practice-exam_20180416/tmaze
|
||||
|
||||
= Git history ==================================================================
|
||||
$> git -C /var/folders/tx/g8nwj_b11315sg0ylbfzk6l40000gq/T/tmpEaQKeH/user log --pretty='%H - %an, %ad : %s'
|
||||
6012d7148b2639cd80d60ab748de5eaf4a89a224 - Tanguy MAZE, Mon Apr 16 18:52:01 2018 +0200 : aff_z
|
||||
|
||||
= Collected files ==========================================
|
||||
$> ls -lAR /var/folders/tx/g8nwj_b11315sg0ylbfzk6l40000gq/T/tmpEaQKeH/user
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 215 Apr 16 18:52 __GIT_HISTORY
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 18:52 aff_z
|
||||
|
||||
/var/folders/tx/g8nwj_b11315sg0ylbfzk6l40000gq/T/tmpEaQKeH/user/aff_z:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 966 Apr 16 18:52 aff_z.c
|
||||
|
||||
= aff_z ========================================================================
|
||||
$> clang -Wextra -Wall -Werror aff_z.c -o user_exe
|
||||
|
||||
= Test 1 ===================================================
|
||||
$> ./4c077ig0pb8wmh3fgcf8mbcv
|
||||
$> diff -U 3 user_output_test1 test1.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 2 ===================================================
|
||||
$> ./6mdu7x2ivft3n64dc9b4tozy "IzlmHwCAEd" "AkVSeQ" "CXaGWY" "z1Cu3wR" "uHpqSNzYDT2Ak" "xBUwQjK4MoT" "HM6" "aYfIREZ1sLJd0" "LeOmC" "aG6VdM7eHT" "J5s" "XH0S9" "8IfPc6x" "YwtZPF" "5fR"
|
||||
$> diff -U 3 user_output_test2 test2.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 3 ===================================================
|
||||
$> ./2wnar39rrvjjkijkxvd0868x "bpR4X759Jzv"
|
||||
$> diff -U 3 user_output_test3 test3.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 4 ===================================================
|
||||
$> ./6umnqoq4teowcbf2goqbvqx9 "qzZC4"
|
||||
$> diff -U 3 user_output_test4 test4.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 5 ===================================================
|
||||
$> ./vfyeigzf6ho90yqkeo3r8yjc "n6AQOgf0PNXcw"
|
||||
$> diff -U 3 user_output_test5 test5.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 6 ===================================================
|
||||
$> ./oief0g9ua01orf0vbi6eq0fp "qM3DvhkS5HFJe"
|
||||
$> diff -U 3 user_output_test6 test6.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
Grade: 1
|
||||
|
||||
= Final grade: 1 ===============================================================
|
||||
88
exam-basedir03/traces/1-0_ft_putstr.trace
Normal file
88
exam-basedir03/traces/1-0_ft_putstr.trace
Normal file
@@ -0,0 +1,88 @@
|
||||
= Host-specific information ====================================================
|
||||
$> hostname; uname -msr
|
||||
e1r5p15.42.fr
|
||||
Darwin 16.7.0 x86_64
|
||||
$> date
|
||||
Mon Apr 16 18:57:18 CEST 2018
|
||||
$> 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/2018/c-exam-alone-in-the-dark-beginner/practice-exam_20180416/tmaze
|
||||
|
||||
= Git history ==================================================================
|
||||
$> git -C /var/folders/m_/cz2kw2gx09jftj37xldgrbcm0000gq/T/tmpKMgyYe/user log --pretty='%H - %an, %ad : %s'
|
||||
20eb54d06141449300b95eab630538348803396f - Tanguy MAZE, Mon Apr 16 18:57:09 2018 +0200 : ft_putstr
|
||||
6012d7148b2639cd80d60ab748de5eaf4a89a224 - Tanguy MAZE, Mon Apr 16 18:52:01 2018 +0200 : aff_z
|
||||
|
||||
= Collected files ==========================================
|
||||
$> ls -lAR /var/folders/m_/cz2kw2gx09jftj37xldgrbcm0000gq/T/tmpKMgyYe/user
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 446 Apr 16 18:57 __GIT_HISTORY
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 18:57 aff_z
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 18:57 ft_putstr
|
||||
|
||||
/var/folders/m_/cz2kw2gx09jftj37xldgrbcm0000gq/T/tmpKMgyYe/user/aff_z:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 966 Apr 16 18:57 aff_z.c
|
||||
|
||||
/var/folders/m_/cz2kw2gx09jftj37xldgrbcm0000gq/T/tmpKMgyYe/user/ft_putstr:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 992 Apr 16 18:57 ft_putstr.c
|
||||
|
||||
= ft_putstr ====================================================================
|
||||
$> clang -Wextra -Wall -Werror main.c ft_putstr.c -o user_exe
|
||||
|
||||
= Test 1 ===================================================
|
||||
$> ./gw87q03hfmwkfbww1vm525gp "k48nK9iLfYu"
|
||||
$> diff -U 3 user_output_test1 test1.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 2 ===================================================
|
||||
$> ./ejqg265rdqtg4fuvtdic92r9 "IOEZAliwh"
|
||||
$> diff -U 3 user_output_test2 test2.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 3 ===================================================
|
||||
$> ./ybcul18m1ye19zdg29qc7767 "DmtG1EwyhHPukoA"
|
||||
$> diff -U 3 user_output_test3 test3.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 4 ===================================================
|
||||
$> ./iyuvkt6tudtxpji4p984x63k "5f4dq6VrEHh zQVe i4hZYIds6oTb7EO pw7ILhMgxzbqvluQn nmhfdYg1TKNGzH7M IUirz7WmhtPc"
|
||||
$> diff -U 3 user_output_test4 test4.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 5 ===================================================
|
||||
$> ./brm5gdshvmkn4j5hqg43kcz0 "P9K45F7Szs1nZ8i rLnSZd8h0vWzMO3J5 XUNcRxbGh41DK0r 9iXT86u CHdl a5nCf4VIRz9 L3dx uUjT178 SuNw78saxgmePtnp 5iTMn4hufaLqxE pQuRLGAyq R7WOzyhnwA9oTJpS5 GQ1K2OUdx 9wYi1XKcC dAJ5VIQ6YPKt 48LZWvRQrIJO k0JX"
|
||||
$> diff -U 3 user_output_test5 test5.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 6 ===================================================
|
||||
$> ./mv0da0yf9lfen4l0nmf970nw "LR5a7JdVM RPr ONXozAtsQdEZ vu8cf ks1Vq69onXhrMDcy4 81ORbe90MzqkYPV OHSoCapVzU q4IwjidYVbeE Ieblc tT4Bo d56zt7 s4PeqA ciSp 4ZlTseQzXj5IFc"
|
||||
$> diff -U 3 user_output_test6 test6.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 7 ===================================================
|
||||
$> ./jqx0d3lb4o4gkh2qlnbhxok7 "ZP4 xOTylC Md01chmlwL7PKjO2Q MTnCYfPxw1Vd0iLhD"
|
||||
$> diff -U 3 user_output_test7 test7.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 8 ===================================================
|
||||
$> ./srru5zxmpqwzis8evpiskei5
|
||||
$> diff -U 3 user_output_test8 test8.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
Grade: 1
|
||||
|
||||
= Final grade: 1 ===============================================================
|
||||
154
exam-basedir03/traces/2-0_max.trace
Normal file
154
exam-basedir03/traces/2-0_max.trace
Normal file
@@ -0,0 +1,154 @@
|
||||
= Host-specific information ====================================================
|
||||
$> hostname; uname -msr
|
||||
e3r10p19.42.fr
|
||||
Darwin 16.7.0 x86_64
|
||||
$> date
|
||||
Mon Apr 16 19:04:46 CEST 2018
|
||||
$> 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/2018/c-exam-alone-in-the-dark-beginner/practice-exam_20180416/tmaze
|
||||
|
||||
= Git history ==================================================================
|
||||
$> git -C /var/folders/53/3stqt3js5bz6x9mh674k88k00000gq/T/tmpLXyULt/user log --pretty='%H - %an, %ad : %s'
|
||||
53309961375cc7b31d03c35ddc3678f5de691731 - Tanguy MAZE, Mon Apr 16 19:04:39 2018 +0200 : max
|
||||
20eb54d06141449300b95eab630538348803396f - Tanguy MAZE, Mon Apr 16 18:57:09 2018 +0200 : ft_putstr
|
||||
6012d7148b2639cd80d60ab748de5eaf4a89a224 - Tanguy MAZE, Mon Apr 16 18:52:01 2018 +0200 : aff_z
|
||||
|
||||
= Collected files ==========================================
|
||||
$> ls -lAR /var/folders/53/3stqt3js5bz6x9mh674k88k00000gq/T/tmpLXyULt/user
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 666 Apr 16 19:04 __GIT_HISTORY
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:04 aff_z
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:04 ft_putstr
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:04 max
|
||||
|
||||
/var/folders/53/3stqt3js5bz6x9mh674k88k00000gq/T/tmpLXyULt/user/aff_z:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 966 Apr 16 19:04 aff_z.c
|
||||
|
||||
/var/folders/53/3stqt3js5bz6x9mh674k88k00000gq/T/tmpLXyULt/user/ft_putstr:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 992 Apr 16 19:04 ft_putstr.c
|
||||
|
||||
/var/folders/53/3stqt3js5bz6x9mh674k88k00000gq/T/tmpLXyULt/user/max:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1105 Apr 16 19:04 max.c
|
||||
|
||||
= max ==========================================================================
|
||||
$> clang -Wextra -Wall -Werror main.c max.c -o user_exe
|
||||
|
||||
= Test 1 ===================================================
|
||||
$> ./8qraqez58j3gow95d2geqq7q
|
||||
$> diff -U 3 user_output_test1 test1.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 2 ===================================================
|
||||
$> ./84bha4kirtmmwf2nbwr1o4b4 "1"
|
||||
$> diff -U 3 user_output_test2 test2.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 3 ===================================================
|
||||
$> ./8rp65a8l631yz4s8nrwkxjx6 "-19" "7" "-6" "-8" "-16" "-7" "-5" "15" "20" "10" "8" "-10" "-17" "-20" "18" "-18" "-17" "-14" "-12" "14" "19" "-12" "-1" "16" "-19" "-12" "8" "3"
|
||||
$> diff -U 3 user_output_test3 test3.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 4 ===================================================
|
||||
$> ./r495gfnomsn0ktz2jivygqww "15" "16" "-4" "6" "17" "17" "-6" "12" "6" "11" "-10" "-10" "-5" "-17" "-20" "-9" "0" "-8" "8" "13" "-8" "-8" "-11" "-9" "-7" "1" "13" "8"
|
||||
$> diff -U 3 user_output_test4 test4.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 5 ===================================================
|
||||
$> ./da17eyvp25oswsyhnx39svyl "-19" "-2" "-19" "5" "-18"
|
||||
$> diff -U 3 user_output_test5 test5.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 6 ===================================================
|
||||
$> ./jckx4qv7xdztflqqpz9lvfzh "18" "-15" "3" "16"
|
||||
$> diff -U 3 user_output_test6 test6.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 7 ===================================================
|
||||
$> ./z15qys45rh0hna6mlc21whok "9" "-7" "-4" "-15"
|
||||
$> diff -U 3 user_output_test7 test7.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 8 ===================================================
|
||||
$> ./izi4kp3iv03g9o2m5whus7z7 "20" "-2" "4" "0" "9" "-18" "-11" "-16" "-12" "17"
|
||||
$> diff -U 3 user_output_test8 test8.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 9 ===================================================
|
||||
$> ./li80stx19rt2myb9axwnzzwy "0" "-4" "-2" "13" "3" "9" "-8" "16" "5" "3" "-17" "19" "18" "16" "-15" "20" "-12"
|
||||
$> diff -U 3 user_output_test9 test9.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 10 ==================================================
|
||||
$> ./ct5hz8365q3cubacvos550qk "12728508" "-18569668" "19158409" "-439791" "18754574" "2684080" "-16078712" "-3054061" "6806134" "-14249426" "-4203081" "7740338" "7962415" "-14354190" "14461816" "-2757228" "-6719877" "-12899903" "-9356992" "12572844" "15378120" "13424346" "-12797869" "4331079" "15160118" "17798254" "8752774" "-13989672" "14643300" "-5214725" "-2572121" "11625411" "10061124" "-501324" "5318345" "-13769443" "8458683" "6116098" "16276521" "-216613" "7812865" "15500645" "19836707" "-15116504" "4608682" "-56452" "11538185" "-13578942" "3584121" "4923747" "-13518317" "6121287"
|
||||
$> diff -U 3 user_output_test10 test10.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 11 ==================================================
|
||||
$> ./ciagezq0xfd36xrpwpk7qy1m "-9260049" "16617569" "11662010" "8732637" "11955437" "3053176" "4819776" "9712840" "3073372" "14584804" "-413597" "-904744" "-4055393" "-16463206" "-5280763" "-1400700" "-1963240" "-5026573" "-10568014" "13973947" "13049458" "5051147" "-496050" "-2298296" "1468222" "-10094874" "-1813827" "10634647" "8633823" "-17416481" "-3105685" "2386097" "12811490" "-13264718" "14395917" "2926975" "8248011" "5862252" "-13032819" "135752" "-13629454" "2635692" "-18896023" "-12565237" "3393565" "-6358757" "-11414542" "-10173707" "-14613362" "-14560649" "8895982" "8757630" "-135387" "2868472" "-1117615" "10059255" "8872851" "-3686764" "-15395171" "-14943301" "-14739170" "1666519" "-3290627" "-14705968" "14808025" "-11395254" "11478761" "-3285848" "-14991423" "-19747983" "-9660769" "-4371500" "-8449994"
|
||||
$> diff -U 3 user_output_test11 test11.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 12 ==================================================
|
||||
$> ./jqvb7x82z8im3p16fltlajsq "11578536" "-17234371" "-4490440" "19501789" "-12290616" "9303750" "2145511" "-8925433" "14470563" "3471421" "3531101" "-3453706" "10336864" "-3829672" "863579" "-7679627" "1471922" "8236824" "-17532717" "-3348189" "-13007221" "9365490" "-9520753" "-18689074" "15803305" "-14470648" "-2049156" "3677911" "4523075" "10296447" "-15624697" "7535942" "-8962767" "-14803856" "7102110" "391145" "-4150959" "-6797272" "-6978218" "-3314972" "181502" "-847085" "5904505"
|
||||
$> diff -U 3 user_output_test12 test12.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 13 ==================================================
|
||||
$> ./qxazg3f1yzym1qjgnu9o9tck "18755210" "4454534" "18650507" "-13687654" "-6096402" "18626553" "-664824" "-1193175" "-8969731" "12783408" "-11132963" "-4042014" "-8767226" "21465" "-15075769" "-6010142" "-19037014" "-11044433" "9046717" "-13565912" "-14703158" "-13593900" "9533893" "4425510" "5630838" "-689605" "4434127" "7875657" "-5788049" "-12416236" "15449850" "15741158" "-11972243" "-8384998" "-12703383" "-14573955" "7158158" "-18247427" "2201645" "12500510" "14486453" "10835429" "3827239" "-12201954" "-10220919" "17839667" "8521296" "-17518359" "-19337624" "11333575" "-16094795" "-5146900" "18967850" "4151235" "-5904813" "8892442" "16711319" "14887649" "7108079" "5001092" "-4479760" "9648467" "-12428151" "-1821482" "16090565" "10300698"
|
||||
$> diff -U 3 user_output_test13 test13.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 14 ==================================================
|
||||
$> ./61swzo1rhyfj3z6ruwskg6zf "6622641" "-18069421" "13814758" "-1961934" "-17990494" "13404123" "-15133143" "4869450" "-10623449" "11897180" "-17468472" "4328914" "8397677" "-5579831" "-18963741" "12773861" "-18402699" "3300012" "-17136383" "19257234" "-4970289" "15283598" "2712579" "2678844" "14769660" "-18604155" "1877551" "18044938" "3511066" "6086017" "3384651" "10755122" "-16455485" "6780854" "-19347395" "9348870" "-12192329" "-2746897" "-12336348" "-14364772" "18858022" "15590860" "15957293" "14591164" "-6810243" "-5693599" "-3235849" "-10517983" "15443820" "13653555" "-4533592" "18810876" "10602739" "-9395882" "-10256519" "15474415" "-209213" "-12134003" "-14601629" "14599332" "-4464564" "-18657830" "3499422" "748654" "10132661" "15665671" "7213778" "3462183" "-18389839" "576779" "11043469" "-11768729" "-9056223" "10038593" "-12092999" "-1831162" "-10626819" "-19109632" "-10713802" "-16276303" "12014733"
|
||||
$> diff -U 3 user_output_test14 test14.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 15 ==================================================
|
||||
$> ./nn159dirdfbgv2mxeuy2jmz5 "17019425" "5167076" "17490089" "12586687" "-2779701" "-18375221" "4657615" "9975247"
|
||||
$> diff -U 3 user_output_test15 test15.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 16 ==================================================
|
||||
$> ./zs3a93bpdfzj4s50j5nekeu3 "-13667070" "6979933" "-4656459" "13231491" "-6066166" "9067168" "12158660" "-16958218" "-10871560" "-14543866" "-4555028" "-12687853" "-5997185" "10664744" "-7293509" "16256330" "6660008" "18679899" "-13088341" "-8312103" "16632760" "1515631" "8446531" "17103179" "-14490556" "14553342" "-11908361" "-18610167" "12615901" "10661448" "17832374" "-3002797" "2927574" "6150132" "-3015623" "18862173" "-5287559" "-14800560" "7348971" "18516028" "-16163644" "-2111617" "-4938796"
|
||||
$> diff -U 3 user_output_test16 test16.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 17 ==================================================
|
||||
$> ./shtpme08tp39i73blco290zr "-6713099" "-6164499" "-16310854" "-5065474" "12110882" "-5180834" "-17364779" "12301071" "11568652" "15831551" "6350401" "-18609386" "-11305154" "7274181" "-6800138" "6305914" "5014809" "6776640" "-3549582" "14965510" "-10678738" "-8882730" "860174" "-15604963" "3063773" "-18161687" "-19609370" "-15755529" "18745046" "-13152917" "2693746" "2347867" "9347801" "13711951" "-8062713" "18772613" "5072868" "3710041" "9485191" "14678657" "16955531" "16230294" "-9667362" "16702961" "11635798" "8167707" "11050081" "-6717255" "-19806028" "7118475" "-2749643" "17105014" "-15969952" "-3434491" "9483174" "-9757205" "12709229" "14550164" "-13269370" "-3666612" "-14755791" "5501777" "-285261" "-19257262" "-3765027" "-15454394" "9556400" "17046793" "-16344244" "-2441150" "6783476" "3806456" "-4434396" "15726035" "-9770459" "13786019" "15726862" "17045887" "-6221291" "2862644" "5773047" "12194070" "16737889" "-1976241" "-4547369" "-10325732"
|
||||
$> diff -U 3 user_output_test17 test17.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 18 ==================================================
|
||||
$> ./1kiebe9xagkyc4px4m5zbrvz "-3940709" "-10062916" "19585179" "11446004" "4964141" "15164870" "9517605" "1546064" "4282409" "3972378" "13645032" "7500659" "-5475038" "-7684524"
|
||||
$> diff -U 3 user_output_test18 test18.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 19 ==================================================
|
||||
$> ./u27pum0rx2p97b0m5jrnvngv "19596900" "-5196869" "10937374" "-13555887" "10769981" "8903843" "14490357" "-11714997" "17248620" "435118" "9555768" "1517363" "-13639420" "14708905" "-708904" "3316245" "-5973297" "8697367" "-14196883"
|
||||
$> diff -U 3 user_output_test19 test19.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 20 ==================================================
|
||||
$> ./vqun28wg0klwode40tzrquby "18028939" "-3693069" "-1206562" "11401212" "-12512092" "-15260818" "-1219603" "16564276" "5653010" "-1739317" "-8147295" "9278312" "602561" "-10974129" "16069407" "8388641" "-19432534" "-9486356" "11738419" "9675846" "-4865440" "-8676083" "12792524" "4067072" "6088108" "-9817016" "11101559" "-9107867" "19042965" "368986" "17415172" "5464783" "-7040280" "-306883" "-15818117" "-3429982" "5525166" "9819316" "2831094" "2082459" "-18029778" "-15358136" "17424223" "2702652" "15330682" "6054245" "-19338070"
|
||||
$> diff -U 3 user_output_test20 test20.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
Grade: 1
|
||||
|
||||
= Final grade: 1 ===============================================================
|
||||
59
exam-basedir03/traces/3-0_ft_rrange.trace
Normal file
59
exam-basedir03/traces/3-0_ft_rrange.trace
Normal file
@@ -0,0 +1,59 @@
|
||||
= Host-specific information ====================================================
|
||||
$> hostname; uname -msr
|
||||
e2r9p11.42.fr
|
||||
Darwin 16.7.0 x86_64
|
||||
$> date
|
||||
Mon Apr 16 19:21:54 CEST 2018
|
||||
$> 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/2018/c-exam-alone-in-the-dark-beginner/practice-exam_20180416/tmaze
|
||||
|
||||
= Git history ==================================================================
|
||||
$> git -C /var/folders/1f/fkvwwzvx4zs7yv41794gcxtm0000gq/T/tmprM_nuM/user log --pretty='%H - %an, %ad : %s'
|
||||
d0bce69342072c4cf857b2658df91defb30e63ea - Tanguy MAZE, Mon Apr 16 19:21:45 2018 +0200 : ft_rrange
|
||||
53309961375cc7b31d03c35ddc3678f5de691731 - Tanguy MAZE, Mon Apr 16 19:04:39 2018 +0200 : max
|
||||
20eb54d06141449300b95eab630538348803396f - Tanguy MAZE, Mon Apr 16 18:57:09 2018 +0200 : ft_putstr
|
||||
6012d7148b2639cd80d60ab748de5eaf4a89a224 - Tanguy MAZE, Mon Apr 16 18:52:01 2018 +0200 : aff_z
|
||||
|
||||
= Collected files ==========================================
|
||||
$> ls -lAR /var/folders/1f/fkvwwzvx4zs7yv41794gcxtm0000gq/T/tmprM_nuM/user
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 909 Apr 16 19:21 __GIT_HISTORY
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:21 aff_z
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:21 ft_putstr
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:21 ft_rrange.c
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:21 max
|
||||
|
||||
/var/folders/1f/fkvwwzvx4zs7yv41794gcxtm0000gq/T/tmprM_nuM/user/aff_z:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 966 Apr 16 19:21 aff_z.c
|
||||
|
||||
/var/folders/1f/fkvwwzvx4zs7yv41794gcxtm0000gq/T/tmprM_nuM/user/ft_putstr:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 992 Apr 16 19:21 ft_putstr.c
|
||||
|
||||
/var/folders/1f/fkvwwzvx4zs7yv41794gcxtm0000gq/T/tmprM_nuM/user/ft_rrange.c:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1210 Apr 16 19:21 ft_rrange.c
|
||||
|
||||
/var/folders/1f/fkvwwzvx4zs7yv41794gcxtm0000gq/T/tmprM_nuM/user/max:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1105 Apr 16 19:21 max.c
|
||||
|
||||
= ft_rrange ====================================================================
|
||||
Nothing turned in
|
||||
Grade: 0
|
||||
|
||||
= Final grade: 0 ===============================================================
|
||||
166
exam-basedir03/traces/3-1_ft_atoi_base.trace
Normal file
166
exam-basedir03/traces/3-1_ft_atoi_base.trace
Normal file
@@ -0,0 +1,166 @@
|
||||
= Host-specific information ====================================================
|
||||
$> hostname; uname -msr
|
||||
e2r7p12.42.fr
|
||||
Darwin 16.7.0 x86_64
|
||||
$> date
|
||||
Mon Apr 16 19:26:47 CEST 2018
|
||||
$> 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/2018/c-exam-alone-in-the-dark-beginner/practice-exam_20180416/tmaze
|
||||
|
||||
= Git history ==================================================================
|
||||
$> git -C /var/folders/z9/y610tnc50656y9gdqc2npn0h0000gq/T/tmpQddd8T/user log --pretty='%H - %an, %ad : %s'
|
||||
def6a68de7ba990a12233c975d4611527762306e - Tanguy MAZE, Mon Apr 16 19:26:38 2018 +0200 : ft_atoi_base
|
||||
d0bce69342072c4cf857b2658df91defb30e63ea - Tanguy MAZE, Mon Apr 16 19:21:45 2018 +0200 : ft_rrange
|
||||
53309961375cc7b31d03c35ddc3678f5de691731 - Tanguy MAZE, Mon Apr 16 19:04:39 2018 +0200 : max
|
||||
20eb54d06141449300b95eab630538348803396f - Tanguy MAZE, Mon Apr 16 18:57:09 2018 +0200 : ft_putstr
|
||||
6012d7148b2639cd80d60ab748de5eaf4a89a224 - Tanguy MAZE, Mon Apr 16 18:52:01 2018 +0200 : aff_z
|
||||
|
||||
= Collected files ==========================================
|
||||
$> ls -lAR /var/folders/z9/y610tnc50656y9gdqc2npn0h0000gq/T/tmpQddd8T/user
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1172 Apr 16 19:26 __GIT_HISTORY
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:26 aff_z
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:26 ft_atoi_base
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:26 ft_putstr
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:26 ft_rrange.c
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:26 max
|
||||
|
||||
/var/folders/z9/y610tnc50656y9gdqc2npn0h0000gq/T/tmpQddd8T/user/aff_z:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 966 Apr 16 19:26 aff_z.c
|
||||
|
||||
/var/folders/z9/y610tnc50656y9gdqc2npn0h0000gq/T/tmpQddd8T/user/ft_atoi_base:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1788 Apr 16 19:26 ft_atoi_base.c
|
||||
|
||||
/var/folders/z9/y610tnc50656y9gdqc2npn0h0000gq/T/tmpQddd8T/user/ft_putstr:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 992 Apr 16 19:26 ft_putstr.c
|
||||
|
||||
/var/folders/z9/y610tnc50656y9gdqc2npn0h0000gq/T/tmpQddd8T/user/ft_rrange.c:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1210 Apr 16 19:26 ft_rrange.c
|
||||
|
||||
/var/folders/z9/y610tnc50656y9gdqc2npn0h0000gq/T/tmpQddd8T/user/max:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1105 Apr 16 19:26 max.c
|
||||
|
||||
= ft_atoi_base =================================================================
|
||||
$> clang -Wextra -Wall -Werror ft_atoi_base.c main.c -o user_exe
|
||||
|
||||
= Test 1 ===================================================
|
||||
$> ./a4i7sr2aubcv985u87wts6oo
|
||||
$> diff -U 3 user_output_test1 test1.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 2 ===================================================
|
||||
$> ./gapz8wafofx60ar02qqtkals "21" "2313" "12"
|
||||
$> diff -U 3 user_output_test2 test2.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 3 ===================================================
|
||||
$> ./327tn8ewkk7zlxdnz9b92aru "2147483647" "10"
|
||||
$> diff -U 3 user_output_test3 test3.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 4 ===================================================
|
||||
$> ./ncl9il9chxdp81b7nx922xuw "-2147483648" "10"
|
||||
$> diff -U 3 user_output_test4 test4.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 5 ===================================================
|
||||
$> ./dm54bez10wfhm2d3lfnrqqlt "0" "2"
|
||||
$> diff -U 3 user_output_test5 test5.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 6 ===================================================
|
||||
$> ./qnbf8b2uu4bbhzo8jqga88zt "--223" "10"
|
||||
$> diff -U 3 user_output_test6 test6.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 7 ===================================================
|
||||
$> ./23zj3n7qo53sewdx7fr7o869 "44015a9b2" "12"
|
||||
$> diff -U 3 user_output_test7 test7.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 8 ===================================================
|
||||
$> ./ksrqfzieedpo471qymywyv6b "110111210212202100" "3"
|
||||
$> diff -U 3 user_output_test8 test8.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 9 ===================================================
|
||||
$> ./curie27wz7fsxwzid20a4v2m "3452f040" "16"
|
||||
$> diff -U 3 user_output_test9 test9.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 10 ==================================================
|
||||
$> ./3vsoam5zd1iz3aipc8o2s1in "402752462" "11"
|
||||
$> diff -U 3 user_output_test10 test10.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 11 ==================================================
|
||||
$> ./o1v1f4i983fe5w2i64wz6ex1 "-d781D15" "14"
|
||||
$> diff -U 3 user_output_test11 test11.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 12 ==================================================
|
||||
$> ./buj4xn6gyiytbf7l45d3yl5t "1323212134120" "5"
|
||||
$> diff -U 3 user_output_test12 test12.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 13 ==================================================
|
||||
$> ./7qvw4yknbyq5qaz6szhswh75 "13455450051" "8"
|
||||
$> diff -U 3 user_output_test13 test13.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 14 ==================================================
|
||||
$> ./tfc64awbj03wp8vf5lsaunrz "36a7d665" "16"
|
||||
$> diff -U 3 user_output_test14 test14.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 15 ==================================================
|
||||
$> ./kvsw3axj0yqdgz0lec46jo4n "315005223021" "6"
|
||||
$> diff -U 3 user_output_test15 test15.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 16 ==================================================
|
||||
$> ./a4dcea2ri51ali053ra6tg6l "1001101101101010100010101111110" "2"
|
||||
$> diff -U 3 user_output_test16 test16.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 17 ==================================================
|
||||
$> ./cu6xbkwgvdiurs3ui39xhota "10221022000101112122" "3"
|
||||
$> diff -U 3 user_output_test17 test17.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 18 ==================================================
|
||||
$> ./zhyi5glu9mtzghw67f6msqp3 "503532253311" "6"
|
||||
$> diff -U 3 user_output_test18 test18.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 19 ==================================================
|
||||
$> ./9otezpzuk1wddsw793geby4k "A9845867" "11"
|
||||
$> diff -U 3 user_output_test19 test19.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 20 ==================================================
|
||||
$> ./ul7rugl3iu33inxcmp02ddnm "20A13024c" "13"
|
||||
$> diff -U 3 user_output_test20 test20.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
Grade: 1
|
||||
|
||||
= Final grade: 1 ===============================================================
|
||||
65
exam-basedir03/traces/4-0_flood_fill.trace
Normal file
65
exam-basedir03/traces/4-0_flood_fill.trace
Normal file
@@ -0,0 +1,65 @@
|
||||
= Host-specific information ====================================================
|
||||
$> hostname; uname -msr
|
||||
e2r9p6.42.fr
|
||||
Darwin 16.7.0 x86_64
|
||||
$> date
|
||||
Mon Apr 16 19:43:00 CEST 2018
|
||||
$> 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/2018/c-exam-alone-in-the-dark-beginner/practice-exam_20180416/tmaze
|
||||
|
||||
= Git history ==================================================================
|
||||
$> git -C /var/folders/58/j7sll6316h920_z530_04cd40000gq/T/tmp5lfwEl/user log --pretty='%H - %an, %ad : %s'
|
||||
def6a68de7ba990a12233c975d4611527762306e - Tanguy MAZE, Mon Apr 16 19:26:38 2018 +0200 : ft_atoi_base
|
||||
d0bce69342072c4cf857b2658df91defb30e63ea - Tanguy MAZE, Mon Apr 16 19:21:45 2018 +0200 : ft_rrange
|
||||
53309961375cc7b31d03c35ddc3678f5de691731 - Tanguy MAZE, Mon Apr 16 19:04:39 2018 +0200 : max
|
||||
20eb54d06141449300b95eab630538348803396f - Tanguy MAZE, Mon Apr 16 18:57:09 2018 +0200 : ft_putstr
|
||||
6012d7148b2639cd80d60ab748de5eaf4a89a224 - Tanguy MAZE, Mon Apr 16 18:52:01 2018 +0200 : aff_z
|
||||
|
||||
= Collected files ==========================================
|
||||
$> ls -lAR /var/folders/58/j7sll6316h920_z530_04cd40000gq/T/tmp5lfwEl/user
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1172 Apr 16 19:43 __GIT_HISTORY
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:43 aff_z
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:43 ft_atoi_base
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:43 ft_putstr
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:43 ft_rrange.c
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:43 max
|
||||
|
||||
/var/folders/58/j7sll6316h920_z530_04cd40000gq/T/tmp5lfwEl/user/aff_z:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 966 Apr 16 19:43 aff_z.c
|
||||
|
||||
/var/folders/58/j7sll6316h920_z530_04cd40000gq/T/tmp5lfwEl/user/ft_atoi_base:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1788 Apr 16 19:43 ft_atoi_base.c
|
||||
|
||||
/var/folders/58/j7sll6316h920_z530_04cd40000gq/T/tmp5lfwEl/user/ft_putstr:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 992 Apr 16 19:43 ft_putstr.c
|
||||
|
||||
/var/folders/58/j7sll6316h920_z530_04cd40000gq/T/tmp5lfwEl/user/ft_rrange.c:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1210 Apr 16 19:43 ft_rrange.c
|
||||
|
||||
/var/folders/58/j7sll6316h920_z530_04cd40000gq/T/tmp5lfwEl/user/max:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1105 Apr 16 19:43 max.c
|
||||
|
||||
= flood_fill ===================================================================
|
||||
Nothing turned in
|
||||
Grade: 0
|
||||
|
||||
= Final grade: 0 ===============================================================
|
||||
65
exam-basedir03/traces/4-1_brainfuck.trace
Normal file
65
exam-basedir03/traces/4-1_brainfuck.trace
Normal file
@@ -0,0 +1,65 @@
|
||||
= Host-specific information ====================================================
|
||||
$> hostname; uname -msr
|
||||
e2r10p21.42.fr
|
||||
Darwin 16.7.0 x86_64
|
||||
$> date
|
||||
Mon Apr 16 19:45:19 CEST 2018
|
||||
$> 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/2018/c-exam-alone-in-the-dark-beginner/practice-exam_20180416/tmaze
|
||||
|
||||
= Git history ==================================================================
|
||||
$> git -C /var/folders/5j/ckvkktwn3td0b9bchm0h1lg40000gq/T/tmpcx81ql/user log --pretty='%H - %an, %ad : %s'
|
||||
def6a68de7ba990a12233c975d4611527762306e - Tanguy MAZE, Mon Apr 16 19:26:38 2018 +0200 : ft_atoi_base
|
||||
d0bce69342072c4cf857b2658df91defb30e63ea - Tanguy MAZE, Mon Apr 16 19:21:45 2018 +0200 : ft_rrange
|
||||
53309961375cc7b31d03c35ddc3678f5de691731 - Tanguy MAZE, Mon Apr 16 19:04:39 2018 +0200 : max
|
||||
20eb54d06141449300b95eab630538348803396f - Tanguy MAZE, Mon Apr 16 18:57:09 2018 +0200 : ft_putstr
|
||||
6012d7148b2639cd80d60ab748de5eaf4a89a224 - Tanguy MAZE, Mon Apr 16 18:52:01 2018 +0200 : aff_z
|
||||
|
||||
= Collected files ==========================================
|
||||
$> ls -lAR /var/folders/5j/ckvkktwn3td0b9bchm0h1lg40000gq/T/tmpcx81ql/user
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1172 Apr 16 19:45 __GIT_HISTORY
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:45 aff_z
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:45 ft_atoi_base
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:45 ft_putstr
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:45 ft_rrange.c
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:45 max
|
||||
|
||||
/var/folders/5j/ckvkktwn3td0b9bchm0h1lg40000gq/T/tmpcx81ql/user/aff_z:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 966 Apr 16 19:45 aff_z.c
|
||||
|
||||
/var/folders/5j/ckvkktwn3td0b9bchm0h1lg40000gq/T/tmpcx81ql/user/ft_atoi_base:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1788 Apr 16 19:45 ft_atoi_base.c
|
||||
|
||||
/var/folders/5j/ckvkktwn3td0b9bchm0h1lg40000gq/T/tmpcx81ql/user/ft_putstr:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 992 Apr 16 19:45 ft_putstr.c
|
||||
|
||||
/var/folders/5j/ckvkktwn3td0b9bchm0h1lg40000gq/T/tmpcx81ql/user/ft_rrange.c:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1210 Apr 16 19:45 ft_rrange.c
|
||||
|
||||
/var/folders/5j/ckvkktwn3td0b9bchm0h1lg40000gq/T/tmpcx81ql/user/max:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1105 Apr 16 19:45 max.c
|
||||
|
||||
= brainfuck ====================================================================
|
||||
Nothing turned in
|
||||
Grade: 0
|
||||
|
||||
= Final grade: 0 ===============================================================
|
||||
124
exam-basedir03/traces/4-2_ft_split.trace
Normal file
124
exam-basedir03/traces/4-2_ft_split.trace
Normal file
@@ -0,0 +1,124 @@
|
||||
= Host-specific information ====================================================
|
||||
$> hostname; uname -msr
|
||||
e2r5p2.42.fr
|
||||
Darwin 16.7.0 x86_64
|
||||
$> date
|
||||
Mon Apr 16 19:55:19 CEST 2018
|
||||
$> 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/2018/c-exam-alone-in-the-dark-beginner/practice-exam_20180416/tmaze
|
||||
|
||||
= Git history ==================================================================
|
||||
$> git -C /var/folders/2k/_xfdf3yn0rb60212c_7bq9q40000gq/T/tmprlAPFh/user log --pretty='%H - %an, %ad : %s'
|
||||
0d3de6bfc40a7b127f75abc7243cde489ef89ac0 - Tanguy MAZE, Mon Apr 16 19:55:09 2018 +0200 : ft_split
|
||||
def6a68de7ba990a12233c975d4611527762306e - Tanguy MAZE, Mon Apr 16 19:26:38 2018 +0200 : ft_atoi_base
|
||||
d0bce69342072c4cf857b2658df91defb30e63ea - Tanguy MAZE, Mon Apr 16 19:21:45 2018 +0200 : ft_rrange
|
||||
53309961375cc7b31d03c35ddc3678f5de691731 - Tanguy MAZE, Mon Apr 16 19:04:39 2018 +0200 : max
|
||||
20eb54d06141449300b95eab630538348803396f - Tanguy MAZE, Mon Apr 16 18:57:09 2018 +0200 : ft_putstr
|
||||
6012d7148b2639cd80d60ab748de5eaf4a89a224 - Tanguy MAZE, Mon Apr 16 18:52:01 2018 +0200 : aff_z
|
||||
|
||||
= Collected files ==========================================
|
||||
$> ls -lAR /var/folders/2k/_xfdf3yn0rb60212c_7bq9q40000gq/T/tmprlAPFh/user
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1431 Apr 16 19:55 __GIT_HISTORY
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:55 aff_z
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:55 ft_atoi_base
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:55 ft_putstr
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:55 ft_rrange.c
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:55 ft_split
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 19:55 max
|
||||
|
||||
/var/folders/2k/_xfdf3yn0rb60212c_7bq9q40000gq/T/tmprlAPFh/user/aff_z:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 966 Apr 16 19:55 aff_z.c
|
||||
|
||||
/var/folders/2k/_xfdf3yn0rb60212c_7bq9q40000gq/T/tmprlAPFh/user/ft_atoi_base:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1788 Apr 16 19:55 ft_atoi_base.c
|
||||
|
||||
/var/folders/2k/_xfdf3yn0rb60212c_7bq9q40000gq/T/tmprlAPFh/user/ft_putstr:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 992 Apr 16 19:55 ft_putstr.c
|
||||
|
||||
/var/folders/2k/_xfdf3yn0rb60212c_7bq9q40000gq/T/tmprlAPFh/user/ft_rrange.c:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1210 Apr 16 19:55 ft_rrange.c
|
||||
|
||||
/var/folders/2k/_xfdf3yn0rb60212c_7bq9q40000gq/T/tmprlAPFh/user/ft_split:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 2009 Apr 16 19:55 ft_split.c
|
||||
|
||||
/var/folders/2k/_xfdf3yn0rb60212c_7bq9q40000gq/T/tmprlAPFh/user/max:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1105 Apr 16 19:55 max.c
|
||||
|
||||
= ft_split =====================================================================
|
||||
$> clang -Wextra -Wall -Werror ft_split.c main.c -o user_exe
|
||||
|
||||
= Test 1 ===================================================
|
||||
$> ./1rsqgenxp2mtqz8kno7eefka ""
|
||||
$> diff -U 3 user_output_test1 test1.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 2 ===================================================
|
||||
$> ./91rc6ufpi66hzefgsja3x2rn "
|
||||
"
|
||||
$> diff -U 3 user_output_test2 test2.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 3 ===================================================
|
||||
$> ./yad0efxdpn7rye2lwkbrcp98 "
|
||||
|
||||
"
|
||||
$> diff -U 3 user_output_test3 test3.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 4 ===================================================
|
||||
$> ./8b07g91zrprqx3481noxlwk5 "1Lot3mMdI"
|
||||
$> diff -U 3 user_output_test4 test4.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 5 ===================================================
|
||||
$> ./n3e7am63r46a0d9qbg8maryu "ugkdZ"
|
||||
$> diff -U 3 user_output_test5 test5.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 6 ===================================================
|
||||
$> ./wqanochwatirst5y5y6yqs9x "
|
||||
xl0qT
|
||||
|
||||
|
||||
QA0q8
|
||||
9pu1B8hVtbLGKYF 8ZL6OSb14yrB
|
||||
89TkyS2U noOBvCjZi
|
||||
|
||||
hM9HfLpZu4nyT 97ZcNuF2 zFdM8aiKIok
|
||||
"
|
||||
$> diff -U 3 user_output_test6 test6.output | cat -e
|
||||
--- user_output_test6 2018-04-16 19:55:24.000000000 +0200$
|
||||
+++ test6.output 2018-04-16 19:55:24.000000000 +0200$
|
||||
@@ -1,6 +1,6 @@$
|
||||
xl0qT$
|
||||
QA0q8$
|
||||
-9pu1B8hVtbLGKYF8ZL6OSb14yrB$
|
||||
+9pu1B8hVtbLGKYF$
|
||||
8ZL6OSb14yrB$
|
||||
89TkyS2U$
|
||||
noOBvCjZi$
|
||||
|
||||
Diff KO :(
|
||||
Grade: 0
|
||||
|
||||
= Final grade: 0 ===============================================================
|
||||
103
exam-basedir03/traces/4-3_ft_itoa.trace
Normal file
103
exam-basedir03/traces/4-3_ft_itoa.trace
Normal file
@@ -0,0 +1,103 @@
|
||||
= Host-specific information ====================================================
|
||||
$> hostname; uname -msr
|
||||
e2r3p18.42.fr
|
||||
Darwin 16.7.0 x86_64
|
||||
$> date
|
||||
Mon Apr 16 19:59:59 CEST 2018
|
||||
$> 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/2018/c-exam-alone-in-the-dark-beginner/practice-exam_20180416/tmaze
|
||||
|
||||
= Git history ==================================================================
|
||||
$> git -C /var/folders/1d/_6pl0ll95gb_hwwjkhmw6nn80000gq/T/tmpgJ4vks/user log --pretty='%H - %an, %ad : %s'
|
||||
e0802ac7c8b281a2f83c460339aacabcf73501ce - Tanguy MAZE, Mon Apr 16 19:59:54 2018 +0200 : ft_itoa
|
||||
0d3de6bfc40a7b127f75abc7243cde489ef89ac0 - Tanguy MAZE, Mon Apr 16 19:55:09 2018 +0200 : ft_split
|
||||
def6a68de7ba990a12233c975d4611527762306e - Tanguy MAZE, Mon Apr 16 19:26:38 2018 +0200 : ft_atoi_base
|
||||
d0bce69342072c4cf857b2658df91defb30e63ea - Tanguy MAZE, Mon Apr 16 19:21:45 2018 +0200 : ft_rrange
|
||||
53309961375cc7b31d03c35ddc3678f5de691731 - Tanguy MAZE, Mon Apr 16 19:04:39 2018 +0200 : max
|
||||
20eb54d06141449300b95eab630538348803396f - Tanguy MAZE, Mon Apr 16 18:57:09 2018 +0200 : ft_putstr
|
||||
6012d7148b2639cd80d60ab748de5eaf4a89a224 - Tanguy MAZE, Mon Apr 16 18:52:01 2018 +0200 : aff_z
|
||||
|
||||
= Collected files ==========================================
|
||||
$> ls -lAR /var/folders/1d/_6pl0ll95gb_hwwjkhmw6nn80000gq/T/tmpgJ4vks/user
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1689 Apr 16 20:00 __GIT_HISTORY
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 20:00 aff_z
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 20:00 ft_atoi_base
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 20:00 ft_itoa
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 20:00 ft_putstr
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 20:00 ft_rrange.c
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 20:00 ft_split
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 20:00 max
|
||||
|
||||
/var/folders/1d/_6pl0ll95gb_hwwjkhmw6nn80000gq/T/tmpgJ4vks/user/aff_z:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 966 Apr 16 20:00 aff_z.c
|
||||
|
||||
/var/folders/1d/_6pl0ll95gb_hwwjkhmw6nn80000gq/T/tmpgJ4vks/user/ft_atoi_base:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1788 Apr 16 20:00 ft_atoi_base.c
|
||||
|
||||
/var/folders/1d/_6pl0ll95gb_hwwjkhmw6nn80000gq/T/tmpgJ4vks/user/ft_itoa:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1470 Apr 16 20:00 ft_itoa.c
|
||||
|
||||
/var/folders/1d/_6pl0ll95gb_hwwjkhmw6nn80000gq/T/tmpgJ4vks/user/ft_putstr:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 992 Apr 16 20:00 ft_putstr.c
|
||||
|
||||
/var/folders/1d/_6pl0ll95gb_hwwjkhmw6nn80000gq/T/tmpgJ4vks/user/ft_rrange.c:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1210 Apr 16 20:00 ft_rrange.c
|
||||
|
||||
/var/folders/1d/_6pl0ll95gb_hwwjkhmw6nn80000gq/T/tmpgJ4vks/user/ft_split:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 2009 Apr 16 20:00 ft_split.c
|
||||
|
||||
/var/folders/1d/_6pl0ll95gb_hwwjkhmw6nn80000gq/T/tmpgJ4vks/user/max:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1105 Apr 16 20:00 max.c
|
||||
|
||||
= ft_itoa ======================================================================
|
||||
$> clang -Wextra -Wall -Werror main.c ft_itoa.c -o user_exe
|
||||
|
||||
= Test 1 ===================================================
|
||||
$> ./8yvzs9iiffvv4qcvkvfekanx
|
||||
$> diff -U 3 user_output_test1 test1.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 2 ===================================================
|
||||
$> ./3ba65kl2wj030bgml8rygkwg "1" "2" "3" "4" "5" "6"
|
||||
$> diff -U 3 user_output_test2 test2.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 3 ===================================================
|
||||
$> ./2u4mq5eiy06nt14r1edv50b1 0
|
||||
$> diff -U 3 user_output_test3 test3.output | cat -e
|
||||
|
||||
Diff OK :D
|
||||
= Test 4 ===================================================
|
||||
$> ./co9nb9yyx8ageypz9qcmf9hm 2147483647
|
||||
$> diff -U 3 user_output_test4 test4.output | cat -e
|
||||
--- user_output_test4 2018-04-16 20:00:04.000000000 +0200$
|
||||
+++ test4.output 2018-04-16 20:00:04.000000000 +0200$
|
||||
@@ -1 +1 @@$
|
||||
-^B^A^D^G^D^H^C^F^D^G$
|
||||
+2147483647$
|
||||
|
||||
Diff KO :(
|
||||
Grade: 0
|
||||
|
||||
= Final grade: 0 ===============================================================
|
||||
77
exam-basedir03/traces/4-4_moment.trace
Normal file
77
exam-basedir03/traces/4-4_moment.trace
Normal file
@@ -0,0 +1,77 @@
|
||||
= Host-specific information ====================================================
|
||||
$> hostname; uname -msr
|
||||
e2r12p14.42.fr
|
||||
Darwin 16.7.0 x86_64
|
||||
$> date
|
||||
Mon Apr 16 20:08:21 CEST 2018
|
||||
$> 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/2018/c-exam-alone-in-the-dark-beginner/practice-exam_20180416/tmaze
|
||||
|
||||
= Git history ==================================================================
|
||||
$> git -C /var/folders/ld/dx6gjh895cd652yyyf3wbx540000gq/T/tmp24PGz7/user log --pretty='%H - %an, %ad : %s'
|
||||
e0802ac7c8b281a2f83c460339aacabcf73501ce - Tanguy MAZE, Mon Apr 16 19:59:54 2018 +0200 : ft_itoa
|
||||
0d3de6bfc40a7b127f75abc7243cde489ef89ac0 - Tanguy MAZE, Mon Apr 16 19:55:09 2018 +0200 : ft_split
|
||||
def6a68de7ba990a12233c975d4611527762306e - Tanguy MAZE, Mon Apr 16 19:26:38 2018 +0200 : ft_atoi_base
|
||||
d0bce69342072c4cf857b2658df91defb30e63ea - Tanguy MAZE, Mon Apr 16 19:21:45 2018 +0200 : ft_rrange
|
||||
53309961375cc7b31d03c35ddc3678f5de691731 - Tanguy MAZE, Mon Apr 16 19:04:39 2018 +0200 : max
|
||||
20eb54d06141449300b95eab630538348803396f - Tanguy MAZE, Mon Apr 16 18:57:09 2018 +0200 : ft_putstr
|
||||
6012d7148b2639cd80d60ab748de5eaf4a89a224 - Tanguy MAZE, Mon Apr 16 18:52:01 2018 +0200 : aff_z
|
||||
|
||||
= Collected files ==========================================
|
||||
$> ls -lAR /var/folders/ld/dx6gjh895cd652yyyf3wbx540000gq/T/tmp24PGz7/user
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1689 Apr 16 20:08 __GIT_HISTORY
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 20:08 aff_z
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 20:08 ft_atoi_base
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 20:08 ft_itoa
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 20:08 ft_putstr
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 20:08 ft_rrange.c
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 20:08 ft_split
|
||||
drwxr-xr-x 3 deepthought deepthought 102 Apr 16 20:08 max
|
||||
|
||||
/var/folders/ld/dx6gjh895cd652yyyf3wbx540000gq/T/tmp24PGz7/user/aff_z:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 966 Apr 16 20:08 aff_z.c
|
||||
|
||||
/var/folders/ld/dx6gjh895cd652yyyf3wbx540000gq/T/tmp24PGz7/user/ft_atoi_base:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1788 Apr 16 20:08 ft_atoi_base.c
|
||||
|
||||
/var/folders/ld/dx6gjh895cd652yyyf3wbx540000gq/T/tmp24PGz7/user/ft_itoa:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1470 Apr 16 20:08 ft_itoa.c
|
||||
|
||||
/var/folders/ld/dx6gjh895cd652yyyf3wbx540000gq/T/tmp24PGz7/user/ft_putstr:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 992 Apr 16 20:08 ft_putstr.c
|
||||
|
||||
/var/folders/ld/dx6gjh895cd652yyyf3wbx540000gq/T/tmp24PGz7/user/ft_rrange.c:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1210 Apr 16 20:08 ft_rrange.c
|
||||
|
||||
/var/folders/ld/dx6gjh895cd652yyyf3wbx540000gq/T/tmp24PGz7/user/ft_split:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 2009 Apr 16 20:08 ft_split.c
|
||||
|
||||
/var/folders/ld/dx6gjh895cd652yyyf3wbx540000gq/T/tmp24PGz7/user/max:
|
||||
total 8
|
||||
-rw-r--r-- 1 deepthought deepthought 1105 Apr 16 20:08 max.c
|
||||
|
||||
= moment =======================================================================
|
||||
Nothing turned in
|
||||
Grade: 0
|
||||
|
||||
= Final grade: 0 ===============================================================
|
||||
Reference in New Issue
Block a user