J'ai fix tkt

This commit is contained in:
HORVILLE 2022-06-13 16:53:06 +02:00
parent c70741225a
commit 696512be09

View File

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