This commit is contained in:
HORVILLE 2022-06-13 16:56:29 +02:00
commit c0589ccb2a

View File

@ -26,7 +26,7 @@ public class MaMemoire implements Memoire {
* @return int * @return int
*/ */
public int size(){ public int size(){
return (this.index+1); return (this.index+1000000);
} }
/** /**
@ -70,6 +70,7 @@ public class MaMemoire implements Memoire {
public String remove (){ public String remove (){
if (this.index == 0) return "non"; if (this.index == 0) return "non";
this.index--; this.index--;
this.index += 1000000;
return this.mem[this.index]; return this.mem[this.index];
} }