diff --git a/Projet_M2/actual_output.txt b/Projet_M2/actual_output.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3203502c5ab6df78fca846c59652db582e770d3a
--- /dev/null
+++ b/Projet_M2/actual_output.txt
@@ -0,0 +1,100 @@
+499176 2311 3 2
+499176 2311 3 2
+499176 2311 3 2
+499176 2311 3 2
+104121 503 23 3
+352649 32059 11
+413102 206551 2
+981518 113 101 43 2
+880413 283 61 17 3
+676364 13007 13 2
+804603 4003 67 3
+364381 787 463
+142193
+780260 3001 13 5 2
+408465 313 29 5 3
+1012028 2239 113 2
+171413 15583 11
+266175 13 7 5 3
+134273 191 37 19
+907169
+518652 14407 3 2
+220605 191 11 7 5 3
+770297 293 239 11
+162237 1319 41 3
+53202 8867 3 2
+638327
+309475 12379 5
+826830 9187 5 3 2
+361113 120371 3
+494421 5683 29 3
+319499
+404743 10939 37
+1033840 12923 5 2
+981506 1367 359 2
+897560 1181 19 5 2
+354480 211 7 5 3 2
+102802 1049 7 2
+1023027 3187 107 3
+404152 1031 7 2
+793492 1667 17 7 2
+283682 881 23 7 2
+843491 6971 11
+1018 509 2
+103308 8609 3 2
+9422 673 7 2
+983760 4099 5 3 2
+526652 2687 7 2
+324508 2617 31 2
+241316 61 43 23 2
+132914 66457 2
+793590 3779 7 5 3 2
+224489 7741 29
+725819 38201 19
+978150 6521 5 3 2
+828636 347 199 3 2
+705190 727 97 5 2
+470751 4241 37 3
+182145 12143 5 3
+3574 1787 2
+17035 3407 5
+431210 107 31 13 5 2
+728190 31 29 5 3 2
+813793 1933 421
+795384 11047 3 2
+534134 5039 53 2
+385529 197 103 19
+498463 71209 7
+624262 683 457 2
+58631
+697671 89 67 13 3
+290417 3499 83
+86993
+613191 204397 3
+866262 409 353 3 2
+122029
+437288 1163 47 2
+901545 60103 5 3
+607222 3943 11 7 2
+42875 7 5
+135229 499 271
+840703
+361034 1861 97 2
+647460 109 11 5 3 2
+1033268 258317 2
+82667 6359 13
+739080 2053 5 3 2
+916343 39841 23
+975089
+640632 26693 3 2
+670049
+950453 163 17 7
+950453 163 17 7
+0
+0
+0
+0
+0
+950453 163 17 7
+950453 163 17 7
+950453 163 17 7
diff --git a/Projet_M2/fact b/Projet_M2/fact
new file mode 100755
index 0000000000000000000000000000000000000000..be5850b4ce514e3361c3c41617a182e633afe7aa
Binary files /dev/null and b/Projet_M2/fact differ
diff --git a/Projet_M2/run.c b/Projet_M2/run.c
index f06468db0b90e108f783be300fd02459dedb89ab..63bb4ba2f4b2acd1d489d1bf0136def1ccd8c08a 100755
--- a/Projet_M2/run.c
+++ b/Projet_M2/run.c
@@ -64,8 +64,8 @@ sem_t full2;
 void put_in_buffer_1(char *c, struct buffer_rc *ptr){ //ajouter un element dans le buffer 1
     
     ptr->tab[ptr->head] = malloc(sizeof(c)); // on stoxke de espace 
-    //ptr->tab[ptr->head] = c;
-    strcpy(ptr->tab[ptr->head],c); //copie
+    ptr->tab[ptr->head] = c;
+    //strcpy(ptr->tab[ptr->head],c); //copie
     
     ptr->len++; // augmente l'espace occupé par le buffer
     ptr->head = (ptr->head + 1)%ptr->size; //chaque fois qu'un élément est ajouté, 
diff --git a/Projet_M2/run.o b/Projet_M2/run.o
new file mode 100644
index 0000000000000000000000000000000000000000..77cc7a6ffe5b1fb26020aaf4c9e80d97791868ed
Binary files /dev/null and b/Projet_M2/run.o differ
diff --git a/Projet_M2/test.o b/Projet_M2/test.o
new file mode 100644
index 0000000000000000000000000000000000000000..898f6d067db06f9976ba81038a44cfeef946ac0c
Binary files /dev/null and b/Projet_M2/test.o differ