From 696512be0933742d7712d96105fc8cc98f44d267 Mon Sep 17 00:00:00 2001 From: HORVILLE Ewen Date: Mon, 13 Jun 2022 16:53:06 +0200 Subject: [PATCH] J'ai fix tkt --- GIT/MaMemoire.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GIT/MaMemoire.java b/GIT/MaMemoire.java index 11c6c0d..e8ed08b 100644 --- a/GIT/MaMemoire.java +++ b/GIT/MaMemoire.java @@ -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]; }