diff options
Diffstat (limited to 'exam00/traces')
| -rw-r--r-- | exam00/traces/0-0-only_z.trace.txt | 47 | ||||
| -rw-r--r-- | exam00/traces/1-0-ft_countdown.trace.txt | 53 | ||||
| -rw-r--r-- | exam00/traces/2-0-maff_alpha.trace.txt | 59 | ||||
| -rw-r--r-- | exam00/traces/3-0-ft_putstr.trace.txt | 100 | ||||
| -rw-r--r-- | exam00/traces/4-0-ft_strrev.trace.txt | 112 | ||||
| -rw-r--r-- | exam00/traces/5-0-ft_atoi.trace.txt | 79 | ||||
| -rw-r--r-- | exam00/traces/5-1-ft_atoi.trace.txt | 174 |
7 files changed, 624 insertions, 0 deletions
diff --git a/exam00/traces/0-0-only_z.trace.txt b/exam00/traces/0-0-only_z.trace.txt new file mode 100644 index 0000000..10c99b3 --- /dev/null +++ b/exam00/traces/0-0-only_z.trace.txt @@ -0,0 +1,47 @@ += Host-specific information ==================================================== +$> hostname; uname -msr +e-r3-p2.s19.be +Darwin 16.7.0 x86_64 +$> date +Fri Jul 5 18:27:00 CEST 2019 +$> gcc --version +Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 +Apple LLVM version 9.0.0 (clang-900.0.39.2) +Target: x86_64-apple-darwin16.7.0 +Thread model: posix +InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin +$> clang --version +Apple LLVM version 9.0.0 (clang-900.0.39.2) +Target: x86_64-apple-darwin16.7.0 +Thread model: posix +InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin + += User files collection ======================================================== +Collecting user files from Vogsphere +Repository URL: auto-exam/2019/c-piscine-exam-00/exam_20190705/cacharle + += Git history ================================================================== +$> git -C /var/folders/g6/h_bg9_59611fps0h1qj_5wn00000gq/T/tmp9Zd5au/user log --pretty='%H - %an, %ad : %s' +1ea27768767e32d773e78820d481b20a4d108c5b - Exam 42, Fri Jul 5 18:23:38 2019 +0200 : exam only_z + += Collected files ========================================== +$> ls -lAR /var/folders/g6/h_bg9_59611fps0h1qj_5wn00000gq/T/tmp9Zd5au/user +total 8 +-rw-r--r-- 1 deepthought deepthought 205 Jul 5 18:27 __GIT_HISTORY +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:27 only_z + +/var/folders/g6/h_bg9_59611fps0h1qj_5wn00000gq/T/tmp9Zd5au/user/only_z: +total 8 +-rw-r--r-- 1 deepthought deepthought 85 Jul 5 18:27 only_z.c + += only_z ======================================================================= +$> gcc -Wextra -Wall -Werror only_z.c -o user_exe + += Test 1 =================================================== +$> ./u9ozzm9nofxo5ratvr118fdc +$> diff -U 3 user_output_test1 test1.output | cat -e + +Diff OK :D +Grade: 1 + += Final grade: 1 =============================================================== diff --git a/exam00/traces/1-0-ft_countdown.trace.txt b/exam00/traces/1-0-ft_countdown.trace.txt new file mode 100644 index 0000000..af6adf8 --- /dev/null +++ b/exam00/traces/1-0-ft_countdown.trace.txt @@ -0,0 +1,53 @@ += Host-specific information ==================================================== +$> hostname; uname -msr +e-r3-p3.s19.be +Darwin 16.7.0 x86_64 +$> date +Fri Jul 5 18:39:16 CEST 2019 +$> gcc --version +Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 +Apple LLVM version 9.0.0 (clang-900.0.39.2) +Target: x86_64-apple-darwin16.7.0 +Thread model: posix +InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin +$> clang --version +Apple LLVM version 9.0.0 (clang-900.0.39.2) +Target: x86_64-apple-darwin16.7.0 +Thread model: posix +InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin + += User files collection ======================================================== +Collecting user files from Vogsphere +Repository URL: auto-exam/2019/c-piscine-exam-00/exam_20190705/cacharle + += Git history ================================================================== +$> git -C /var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpX7leMe/user log --pretty='%H - %an, %ad : %s' +1bff6951e5d37fb9f911e6cf93afdb9a2a079a64 - Exam 42, Fri Jul 5 18:38:16 2019 +0200 : exam00 ft_countdown +1ea27768767e32d773e78820d481b20a4d108c5b - Exam 42, Fri Jul 5 18:23:38 2019 +0200 : exam only_z + += Collected files ========================================== +$> ls -lAR /var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpX7leMe/user +total 8 +-rw-r--r-- 1 deepthought deepthought 445 Jul 5 18:39 __GIT_HISTORY +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:39 ft_countdown +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:39 only_z + +/var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpX7leMe/user/ft_countdown: +total 8 +-rw-r--r-- 1 deepthought deepthought 176 Jul 5 18:39 ft_countdown.c + +/var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpX7leMe/user/only_z: +total 8 +-rw-r--r-- 1 deepthought deepthought 85 Jul 5 18:39 only_z.c + += ft_countdown ================================================================= +$> gcc -Wextra -Wall -Werror ft_countdown.c -o user_exe + += Test 1 =================================================== +$> ./w1f15fi1k22snxrsd4a6asvb +$> diff -U 3 user_output_test1 test1.output | cat -e + +Diff OK :D +Grade: 1 + += Final grade: 1 =============================================================== diff --git a/exam00/traces/2-0-maff_alpha.trace.txt b/exam00/traces/2-0-maff_alpha.trace.txt new file mode 100644 index 0000000..0b85f9c --- /dev/null +++ b/exam00/traces/2-0-maff_alpha.trace.txt @@ -0,0 +1,59 @@ += Host-specific information ==================================================== +$> hostname; uname -msr +e-r3-p3.s19.be +Darwin 16.7.0 x86_64 +$> date +Fri Jul 5 18:49:11 CEST 2019 +$> gcc --version +Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 +Apple LLVM version 9.0.0 (clang-900.0.39.2) +Target: x86_64-apple-darwin16.7.0 +Thread model: posix +InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin +$> clang --version +Apple LLVM version 9.0.0 (clang-900.0.39.2) +Target: x86_64-apple-darwin16.7.0 +Thread model: posix +InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin + += User files collection ======================================================== +Collecting user files from Vogsphere +Repository URL: auto-exam/2019/c-piscine-exam-00/exam_20190705/cacharle + += Git history ================================================================== +$> git -C /var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpN1y_P4/user log --pretty='%H - %an, %ad : %s' +cf5957fe28f503c7637a640ca229743385364c1d - Exam 42, Fri Jul 5 18:47:39 2019 +0200 : exam00 maff_alpha.c +1bff6951e5d37fb9f911e6cf93afdb9a2a079a64 - Exam 42, Fri Jul 5 18:38:16 2019 +0200 : exam00 ft_countdown +1ea27768767e32d773e78820d481b20a4d108c5b - Exam 42, Fri Jul 5 18:23:38 2019 +0200 : exam only_z + += Collected files ========================================== +$> ls -lAR /var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpN1y_P4/user +total 8 +-rw-r--r-- 1 deepthought deepthought 682 Jul 5 18:49 __GIT_HISTORY +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:49 ft_countdown +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:49 maff_alpha +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:49 only_z + +/var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpN1y_P4/user/ft_countdown: +total 8 +-rw-r--r-- 1 deepthought deepthought 176 Jul 5 18:49 ft_countdown.c + +/var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpN1y_P4/user/maff_alpha: +total 8 +-rw-r--r-- 1 deepthought deepthought 243 Jul 5 18:49 maff_alpha.c + +/var/folders/k2/w11t1l8x7yz1sljm2w6ctr0m0000gq/T/tmpN1y_P4/user/only_z: +total 8 +-rw-r--r-- 1 deepthought deepthought 85 Jul 5 18:49 only_z.c + += maff_alpha =================================================================== +$> gcc -Wextra -Wall -Werror maff_alpha.c -o user_exe + += Test 1 =================================================== +$> ./k84nv7um4hcicmqio061oq0j test1.prm +$> diff -U 3 user_output_test1 test1.output | cat -e + +Diff OK :D +Grade: 1 + += Final grade: 1 =============================================================== diff --git a/exam00/traces/3-0-ft_putstr.trace.txt b/exam00/traces/3-0-ft_putstr.trace.txt new file mode 100644 index 0000000..90cdf3f --- /dev/null +++ b/exam00/traces/3-0-ft_putstr.trace.txt @@ -0,0 +1,100 @@ += Host-specific information ==================================================== +$> hostname; uname -msr +w-r2-p3.s19.be +Darwin 16.7.0 x86_64 +$> date +Fri Jul 5 18:59:05 CEST 2019 +$> gcc --version +Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 +Apple LLVM version 9.0.0 (clang-900.0.39.2) +Target: x86_64-apple-darwin16.7.0 +Thread model: posix +InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin +$> clang --version +Apple LLVM version 9.0.0 (clang-900.0.39.2) +Target: x86_64-apple-darwin16.7.0 +Thread model: posix +InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin + += User files collection ======================================================== +Collecting user files from Vogsphere +Repository URL: auto-exam/2019/c-piscine-exam-00/exam_20190705/cacharle + += Git history ================================================================== +$> git -C /var/folders/kq/r93mxbbj0037ct86dqvwz4cm0000gq/T/tmpcv1MNB/user log --pretty='%H - %an, %ad : %s' +9a061d46ec225b60d5798839c9343d3dcb47a21e - Exam 42, Fri Jul 5 18:57:38 2019 +0200 : exam00 ft_putstr +cf5957fe28f503c7637a640ca229743385364c1d - Exam 42, Fri Jul 5 18:47:39 2019 +0200 : exam00 maff_alpha.c +1bff6951e5d37fb9f911e6cf93afdb9a2a079a64 - Exam 42, Fri Jul 5 18:38:16 2019 +0200 : exam00 ft_countdown +1ea27768767e32d773e78820d481b20a4d108c5b - Exam 42, Fri Jul 5 18:23:38 2019 +0200 : exam only_z + += Collected files ========================================== +$> ls -lAR /var/folders/kq/r93mxbbj0037ct86dqvwz4cm0000gq/T/tmpcv1MNB/user +total 8 +-rw-r--r-- 1 deepthought deepthought 903 Jul 5 18:59 __GIT_HISTORY +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:59 ft_countdown +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:59 ft_putstr +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:59 maff_alpha +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 18:59 only_z + +/var/folders/kq/r93mxbbj0037ct86dqvwz4cm0000gq/T/tmpcv1MNB/user/ft_countdown: +total 8 +-rw-r--r-- 1 deepthought deepthought 176 Jul 5 18:59 ft_countdown.c + +/var/folders/kq/r93mxbbj0037ct86dqvwz4cm0000gq/T/tmpcv1MNB/user/ft_putstr: +total 8 +-rw-r--r-- 1 deepthought deepthought 100 Jul 5 18:59 ft_putstr.c + +/var/folders/kq/r93mxbbj0037ct86dqvwz4cm0000gq/T/tmpcv1MNB/user/maff_alpha: +total 8 +-rw-r--r-- 1 deepthought deepthought 243 Jul 5 18:59 maff_alpha.c + +/var/folders/kq/r93mxbbj0037ct86dqvwz4cm0000gq/T/tmpcv1MNB/user/only_z: +total 8 +-rw-r--r-- 1 deepthought deepthought 85 Jul 5 18:59 only_z.c + += ft_putstr ==================================================================== +$> gcc -Wextra -Wall -Werror main.c ft_putstr.c -o user_exe + += Test 1 =================================================== +$> ./9xfoet7m0vempzhmnf4ho43n "jvb2pelNRFGJ" +$> diff -U 3 user_output_test1 test1.output | cat -e + +Diff OK :D += Test 2 =================================================== +$> ./wq3alz983dqqc3wg484wnqfw "VMgqCef" +$> diff -U 3 user_output_test2 test2.output | cat -e + +Diff OK :D += Test 3 =================================================== +$> ./9tl0aba3kifdg15f779yybe9 "3BvXW7CUPgy8" +$> diff -U 3 user_output_test3 test3.output | cat -e + +Diff OK :D += Test 4 =================================================== +$> ./mh26e96e326m10sggfje4nkv "Sc0viD1Iewt MEmOYySDaf M56Zv8m F6AO2wnZSYuTPjD4 XVaKDeorYTiG" +$> diff -U 3 user_output_test4 test4.output | cat -e + +Diff OK :D += Test 5 =================================================== +$> ./oo97vg5v00skozn6cv63ru0q "9iSuh3 KSXjbpno VQPyJ0DT3NCkvRnzK LM5obuBZ78C0H4aiz 1NQFbRP89BAtgC0ek 2VBFA9GQOXW381 UnKsoyJ8Y" +$> diff -U 3 user_output_test5 test5.output | cat -e + +Diff OK :D += Test 6 =================================================== +$> ./ymnkpobfcyso5yegtup4zdrk "xLO5lC ESD8 Qp5m7xuWInPiVes1 0XPk8 4XZ2N TMpaPXVDF9RkG c8rVf gX9dJ3 GfsQ2ajKWcvqkH vtisz 0wNIH4Mvy58KlfoL RbJmOsgMPWnU uhI8Y1moe5j JR8lKwLf34g5N" +$> diff -U 3 user_output_test6 test6.output | cat -e + +Diff OK :D += Test 7 =================================================== +$> ./vtyvlhepzovpnctjscujlfuh "EIs69jQneGxJ7lzqH jUnGHiyFlfLEX p0xnaLOfU e1OLu5fU ZOSCiXt7aKRd QETZ9J5jeI4lvCL e8k4O35y 7AJL4yKh5bkZ" +$> diff -U 3 user_output_test7 test7.output | cat -e + +Diff OK :D += Test 8 =================================================== +$> ./qiu1bn42f0p5m1b4o4iibk29 +$> diff -U 3 user_output_test8 test8.output | cat -e + +Diff OK :D +Grade: 1 + += Final grade: 1 =============================================================== diff --git a/exam00/traces/4-0-ft_strrev.trace.txt b/exam00/traces/4-0-ft_strrev.trace.txt new file mode 100644 index 0000000..1142596 --- /dev/null +++ b/exam00/traces/4-0-ft_strrev.trace.txt @@ -0,0 +1,112 @@ += Host-specific information ==================================================== +$> hostname; uname -msr +e-r8-p3.s19.be +Darwin 16.7.0 x86_64 +$> date +Fri Jul 5 19:27:06 CEST 2019 +$> gcc --version +Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 +Apple LLVM version 9.0.0 (clang-900.0.39.2) +Target: x86_64-apple-darwin16.7.0 +Thread model: posix +InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin +$> clang --version +Apple LLVM version 9.0.0 (clang-900.0.39.2) +Target: x86_64-apple-darwin16.7.0 +Thread model: posix +InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin + += User files collection ======================================================== +Collecting user files from Vogsphere +Repository URL: auto-exam/2019/c-piscine-exam-00/exam_20190705/cacharle + += Git history ================================================================== +$> git -C /var/folders/l9/6nrl35jn2mgbhk1y0r2zhrtm0000gq/T/tmpFz8MhK/user log --pretty='%H - %an, %ad : %s' +a39f6ce8235aec04c798cf602000ab71a8be0361 - Exam 42, Fri Jul 5 19:25:56 2019 +0200 : ft_strrev return corr +d7079124e81f8d1d030d31f59ca1fa2a1e2eb8f9 - Exam 42, Fri Jul 5 19:23:52 2019 +0200 : exam00 ft_strrev +9a061d46ec225b60d5798839c9343d3dcb47a21e - Exam 42, Fri Jul 5 18:57:38 2019 +0200 : exam00 ft_putstr +cf5957fe28f503c7637a640ca229743385364c1d - Exam 42, Fri Jul 5 18:47:39 2019 +0200 : exam00 maff_alpha.c +1bff6951e5d37fb9f911e6cf93afdb9a2a079a64 - Exam 42, Fri Jul 5 18:38:16 2019 +0200 : exam00 ft_countdown +1ea27768767e32d773e78820d481b20a4d108c5b - Exam 42, Fri Jul 5 18:23:38 2019 +0200 : exam only_z + += Collected files ========================================== +$> ls -lAR /var/folders/l9/6nrl35jn2mgbhk1y0r2zhrtm0000gq/T/tmpFz8MhK/user +total 8 +-rw-r--r-- 1 deepthought deepthought 1375 Jul 5 19:27 __GIT_HISTORY +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 19:27 ft_countdown +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 19:27 ft_putstr +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 19:27 ft_strrev +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 19:27 maff_alpha +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 19:27 only_z + +/var/folders/l9/6nrl35jn2mgbhk1y0r2zhrtm0000gq/T/tmpFz8MhK/user/ft_countdown: +total 8 +-rw-r--r-- 1 deepthought deepthought 176 Jul 5 19:27 ft_countdown.c + +/var/folders/l9/6nrl35jn2mgbhk1y0r2zhrtm0000gq/T/tmpFz8MhK/user/ft_putstr: +total 8 +-rw-r--r-- 1 deepthought deepthought 100 Jul 5 19:27 ft_putstr.c + +/var/folders/l9/6nrl35jn2mgbhk1y0r2zhrtm0000gq/T/tmpFz8MhK/user/ft_strrev: +total 8 +-rw-r--r-- 1 deepthought deepthought 320 Jul 5 19:27 ft_strrev.c + +/var/folders/l9/6nrl35jn2mgbhk1y0r2zhrtm0000gq/T/tmpFz8MhK/user/maff_alpha: +total 8 +-rw-r--r-- 1 deepthought deepthought 243 Jul 5 19:27 maff_alpha.c + +/var/folders/l9/6nrl35jn2mgbhk1y0r2zhrtm0000gq/T/tmpFz8MhK/user/only_z: +total 8 +-rw-r--r-- 1 deepthought deepthought 85 Jul 5 19:27 only_z.c + += ft_strrev ==================================================================== +$> gcc -Wextra -Wall -Werror ft_strrev.c main.c -o user_exe + += Test 1 =================================================== +$> ./m7ofdfc4x6acb1hvwpt1dv18 "" +$> diff -U 3 user_output_test1 test1.output | cat -e + +Diff OK :D += Test 2 =================================================== +$> ./rqmpywt6pg6lptmqqccdu4py "S5BV2wD9cN" +$> diff -U 3 user_output_test2 test2.output | cat -e + +Diff OK :D += Test 3 =================================================== +$> ./04n96wi4nvf6dlbcugel5b99 "dpoEjIvf4gOh3F5L" +$> diff -U 3 user_output_test3 test3.output | cat -e + +Diff OK :D += Test 4 =================================================== +$> ./wa66cmqzpx5vac9lh0ykzp8q "PrRONg" +$> diff -U 3 user_output_test4 test4.output | cat -e + +Diff OK :D += Test 5 =================================================== +$> ./m1qcicepj53lx51duzzc9aff "JyXK9SWxIU5" +$> diff -U 3 user_output_test5 test5.output | cat -e + +Diff OK :D += Test 6 =================================================== +$> ./5n6iqtvn684cti4ula2zhjvs "UYHbnBMIF4jLmE ubfao3sMp 0SRs8Q3Co5EidaZ4r 8vYZ2UTR9t fgSP8puxyD7eih bryUG" +$> diff -U 3 user_output_test6 test6.output | cat -e + +Diff OK :D += Test 7 =================================================== +$> ./898kgo65zyo6adca1w8hitdi "zZL vQE4Hp 12JAy 7NLfVQqeoAnE jgDIaY7r1n Mh0aIlc NelMTAGdCIVbn PQZet2iU6OIqR QW06jtlN FlbE5yqgWA DmhgSAbza8tVuer P4np BSqtyMc AFY J5gPYj2hZi19dSL 41WoZrvjwLbJzRa" +$> diff -U 3 user_output_test7 test7.output | cat -e + +Diff OK :D += Test 8 =================================================== +$> ./pc3xu83kbhgy9sip0h8dmqta "dgTlb3Xz4JyaN2i 2AzSZr3gbJT6MK GqXnrcaTHy35VZgoW 1aPD" +$> diff -U 3 user_output_test8 test8.output | cat -e + +Diff OK :D += Test 9 =================================================== +$> ./vbwg4lkl4002py4s32r8oxcc "yoN9Pl IyWnpxTh9gD xpo F93wpDR5kt7Zf1neW YCJ WTfnGUhMzlPQa UzKxEMXe WvQcgHXKPV2iLn cIFepna6wOk0tyZ 7ILYvnNzJxOQ3 rs4wP PoXZG374LzEMj9 ba6wdf4miJTV D6BgKbrIe5nvqti E4eJGHIVW6l71Ct" +$> diff -U 3 user_output_test9 test9.output | cat -e + +Diff OK :D +Grade: 1 + += Final grade: 1 =============================================================== diff --git a/exam00/traces/5-0-ft_atoi.trace.txt b/exam00/traces/5-0-ft_atoi.trace.txt new file mode 100644 index 0000000..7db7fb4 --- /dev/null +++ b/exam00/traces/5-0-ft_atoi.trace.txt @@ -0,0 +1,79 @@ += Host-specific information ==================================================== +$> hostname; uname -msr +w-r1-p1.s19.be +Darwin 16.7.0 x86_64 +$> date +Fri Jul 5 20:39:50 CEST 2019 +$> gcc --version +Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 +Apple LLVM version 9.0.0 (clang-900.0.39.2) +Target: x86_64-apple-darwin16.7.0 +Thread model: posix +InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin +$> clang --version +Apple LLVM version 9.0.0 (clang-900.0.39.2) +Target: x86_64-apple-darwin16.7.0 +Thread model: posix +InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin + += User files collection ======================================================== +Collecting user files from Vogsphere +Repository URL: auto-exam/2019/c-piscine-exam-00/exam_20190705/cacharle + += Git history ================================================================== +$> git -C /var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/tmpWSUHVh/user log --pretty='%H - %an, %ad : %s' +aee71077430e4cb04d7151c5422572a6ccd97167 - Exam 42, Fri Jul 5 20:37:38 2019 +0200 : exam00 ft_atoi +a39f6ce8235aec04c798cf602000ab71a8be0361 - Exam 42, Fri Jul 5 19:25:56 2019 +0200 : ft_strrev return corr +d7079124e81f8d1d030d31f59ca1fa2a1e2eb8f9 - Exam 42, Fri Jul 5 19:23:52 2019 +0200 : exam00 ft_strrev +9a061d46ec225b60d5798839c9343d3dcb47a21e - Exam 42, Fri Jul 5 18:57:38 2019 +0200 : exam00 ft_putstr +cf5957fe28f503c7637a640ca229743385364c1d - Exam 42, Fri Jul 5 18:47:39 2019 +0200 : exam00 maff_alpha.c +1bff6951e5d37fb9f911e6cf93afdb9a2a079a64 - Exam 42, Fri Jul 5 18:38:16 2019 +0200 : exam00 ft_countdown +1ea27768767e32d773e78820d481b20a4d108c5b - Exam 42, Fri Jul 5 18:23:38 2019 +0200 : exam only_z + += Collected files ========================================== +$> ls -lAR /var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/tmpWSUHVh/user +total 8 +-rw-r--r-- 1 deepthought deepthought 1635 Jul 5 20:39 __GIT_HISTORY +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:39 ft_atoi +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:39 ft_countdown +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:39 ft_putstr +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:39 ft_strrev +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:39 maff_alpha +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:39 only_z + +/var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/tmpWSUHVh/user/ft_atoi: +total 8 +-rw-r--r-- 1 deepthought deepthought 830 Jul 5 20:39 ft_atoi.c + +/var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/tmpWSUHVh/user/ft_countdown: +total 8 +-rw-r--r-- 1 deepthought deepthought 176 Jul 5 20:39 ft_countdown.c + +/var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/tmpWSUHVh/user/ft_putstr: +total 8 +-rw-r--r-- 1 deepthought deepthought 100 Jul 5 20:39 ft_putstr.c + +/var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/tmpWSUHVh/user/ft_strrev: +total 8 +-rw-r--r-- 1 deepthought deepthought 320 Jul 5 20:39 ft_strrev.c + +/var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/tmpWSUHVh/user/maff_alpha: +total 8 +-rw-r--r-- 1 deepthought deepthought 243 Jul 5 20:39 maff_alpha.c + +/var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/tmpWSUHVh/user/only_z: +total 8 +-rw-r--r-- 1 deepthought deepthought 85 Jul 5 20:39 only_z.c + += ft_atoi ====================================================================== +$> gcc -Wextra -Wall -Werror main.c ft_atoi.c -o user_exe +duplicate symbol _main in: + /var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/main-778510.o + /var/folders/94/qc05t_2x0hl2j9mv5vr_t2mw0000gq/T/ft_atoi-1b1dec.o +ld: 1 duplicate symbol for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +Could not compile 'user_exe' +Grade: 0 + += Final grade: 0 =============================================================== diff --git a/exam00/traces/5-1-ft_atoi.trace.txt b/exam00/traces/5-1-ft_atoi.trace.txt new file mode 100644 index 0000000..00c226d --- /dev/null +++ b/exam00/traces/5-1-ft_atoi.trace.txt @@ -0,0 +1,174 @@ += Host-specific information ==================================================== +$> hostname; uname -msr +e-r1-p4.s19.be +Darwin 17.0.0 x86_64 +$> date +Fri Jul 5 20:43:43 CEST 2019 +$> gcc --version +Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 +Apple LLVM version 9.0.0 (clang-900.0.39.2) +Target: x86_64-apple-darwin17.0.0 +Thread model: posix +InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin +$> clang --version +Apple LLVM version 9.0.0 (clang-900.0.39.2) +Target: x86_64-apple-darwin17.0.0 +Thread model: posix +InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin + += User files collection ======================================================== +Collecting user files from Vogsphere +Repository URL: auto-exam/2019/c-piscine-exam-00/exam_20190705/cacharle + += Git history ================================================================== +$> git -C /var/folders/b1/8nhw8rjs4r3bn7v4ds221x280000gq/T/tmpqohSkG/user log --pretty='%H - %an, %ad : %s' +4933249a7abc3ae2a2f34fa94bc39fc25b94037e - Exam 42, Fri Jul 5 20:42:29 2019 +0200 : there is still a main you idiot +aee71077430e4cb04d7151c5422572a6ccd97167 - Exam 42, Fri Jul 5 20:37:38 2019 +0200 : exam00 ft_atoi +a39f6ce8235aec04c798cf602000ab71a8be0361 - Exam 42, Fri Jul 5 19:25:56 2019 +0200 : ft_strrev return corr +d7079124e81f8d1d030d31f59ca1fa2a1e2eb8f9 - Exam 42, Fri Jul 5 19:23:52 2019 +0200 : exam00 ft_strrev +9a061d46ec225b60d5798839c9343d3dcb47a21e - Exam 42, Fri Jul 5 18:57:38 2019 +0200 : exam00 ft_putstr +cf5957fe28f503c7637a640ca229743385364c1d - Exam 42, Fri Jul 5 18:47:39 2019 +0200 : exam00 maff_alpha.c +1bff6951e5d37fb9f911e6cf93afdb9a2a079a64 - Exam 42, Fri Jul 5 18:38:16 2019 +0200 : exam00 ft_countdown +1ea27768767e32d773e78820d481b20a4d108c5b - Exam 42, Fri Jul 5 18:23:38 2019 +0200 : exam only_z + += Collected files ========================================== +$> ls -lAR /var/folders/b1/8nhw8rjs4r3bn7v4ds221x280000gq/T/tmpqohSkG/user +total 8 +-rw-r--r-- 1 deepthought deepthought 1859 Jul 5 20:43 __GIT_HISTORY +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:43 ft_atoi +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:43 ft_countdown +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:43 ft_putstr +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:43 ft_strrev +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:43 maff_alpha +drwxr-xr-x 3 deepthought deepthought 102 Jul 5 20:43 only_z + +/var/folders/b1/8nhw8rjs4r3bn7v4ds221x280000gq/T/tmpqohSkG/user/ft_atoi: +total 8 +-rw-r--r-- 1 deepthought deepthought 803 Jul 5 20:43 ft_atoi.c + +/var/folders/b1/8nhw8rjs4r3bn7v4ds221x280000gq/T/tmpqohSkG/user/ft_countdown: +total 8 +-rw-r--r-- 1 deepthought deepthought 176 Jul 5 20:43 ft_countdown.c + +/var/folders/b1/8nhw8rjs4r3bn7v4ds221x280000gq/T/tmpqohSkG/user/ft_putstr: +total 8 +-rw-r--r-- 1 deepthought deepthought 100 Jul 5 20:43 ft_putstr.c + +/var/folders/b1/8nhw8rjs4r3bn7v4ds221x280000gq/T/tmpqohSkG/user/ft_strrev: +total 8 +-rw-r--r-- 1 deepthought deepthought 320 Jul 5 20:43 ft_strrev.c + +/var/folders/b1/8nhw8rjs4r3bn7v4ds221x280000gq/T/tmpqohSkG/user/maff_alpha: +total 8 +-rw-r--r-- 1 deepthought deepthought 243 Jul 5 20:43 maff_alpha.c + +/var/folders/b1/8nhw8rjs4r3bn7v4ds221x280000gq/T/tmpqohSkG/user/only_z: +total 8 +-rw-r--r-- 1 deepthought deepthought 85 Jul 5 20:43 only_z.c + += ft_atoi ====================================================================== +$> gcc -Wextra -Wall -Werror main.c ft_atoi.c -o user_exe + += Test 1 =================================================== +$> ./jcbihz3rfanj4x6x5e2420hn +$> diff -U 3 user_output_test1 test1.output | cat -e + +Diff OK :D += Test 2 =================================================== +$> ./icpi3e1j8a5w9251wig3mgwr "21" "2313" +$> diff -U 3 user_output_test2 test2.output | cat -e + +Diff OK :D += Test 3 =================================================== +$> ./egs0v0izcp5b5i259wc7rzmr 2147483647 +$> diff -U 3 user_output_test3 test3.output | cat -e + +Diff OK :D += Test 4 =================================================== +$> ./9qbnqd0xzkoc9fac8q2o0rk9 -2147483648 +$> diff -U 3 user_output_test4 test4.output | cat -e + +Diff OK :D += Test 5 =================================================== +$> ./c9sjne36n9gvufl69589d6gc 0 +$> diff -U 3 user_output_test5 test5.output | cat -e + +Diff OK :D += Test 6 =================================================== +$> ./ttxxj0yzi1hqgolxx8abqqn0 12211t11 +$> diff -U 3 user_output_test6 test6.output | cat -e + +Diff OK :D += Test 7 =================================================== +$> ./ayg93ljmtrf4q2fjl7sk0fgx --223 +$> diff -U 3 user_output_test7 test7.output | cat -e + +Diff OK :D += Test 8 =================================================== +$> ./8zjh6rwdaosf4gk1q22od9ty -233501767 +$> diff -U 3 user_output_test8 test8.output | cat -e + +Diff OK :D += Test 9 =================================================== +$> ./jurbtuxtvq05sb8xqhz4d3kc 25783639 +$> diff -U 3 user_output_test9 test9.output | cat -e + +Diff OK :D += Test 10 ================================================== +$> ./5jgfse31lkl5mvd01dc735pz 943397825 +$> diff -U 3 user_output_test10 test10.output | cat -e + +Diff OK :D += Test 11 ================================================== +$> ./cqu77yuhsstqzcubdclr4keh -1826524713 +$> diff -U 3 user_output_test11 test11.output | cat -e + +Diff OK :D += Test 12 ================================================== +$> ./zzy1kk0f16nhvaitixx79bnn -1431651155 +$> diff -U 3 user_output_test12 test12.output | cat -e + +Diff OK :D += Test 13 ================================================== +$> ./cy5gs1nd6hg2dv1kj4wq69k4 -795113048 +$> diff -U 3 user_output_test13 test13.output | cat -e + +Diff OK :D += Test 14 ================================================== +$> ./b8anyi7uw8w54ozysfe4c7xu -1074627657 +$> diff -U 3 user_output_test14 test14.output | cat -e + +Diff OK :D += Test 15 ================================================== +$> ./y3aay5vvyuqgpt7pxsn73p5d -534138154 +$> diff -U 3 user_output_test15 test15.output | cat -e + +Diff OK :D += Test 16 ================================================== +$> ./7okhq227013a5fvxed41in8z -1870913365 +$> diff -U 3 user_output_test16 test16.output | cat -e + +Diff OK :D += Test 17 ================================================== +$> ./gbx3tjvqv96qes54lsorfrx1 -693151582 +$> diff -U 3 user_output_test17 test17.output | cat -e + +Diff OK :D += Test 18 ================================================== +$> ./u5w0ipo8b8mqlizlitmuomv1 -1588217085 +$> diff -U 3 user_output_test18 test18.output | cat -e + +Diff OK :D += Test 19 ================================================== +$> ./hkrfzy0re8mg38lkj62sq3dq -1136243523 +$> diff -U 3 user_output_test19 test19.output | cat -e + +Diff OK :D += Test 20 ================================================== +$> ./i041ni9qy52eullsbton5yr4 -1280114021 +$> diff -U 3 user_output_test20 test20.output | cat -e + +Diff OK :D +Grade: 1 + += Final grade: 1 =============================================================== |
