From 10e10c95f4c0a9027607324da6089e8385cd9211 Mon Sep 17 00:00:00 2001 From: adjoly Date: Thu, 3 Jul 2025 14:16:41 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix:=20fixed?= =?UTF-8?q?=20ex01?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ex01/RPN.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ex01/RPN.cpp b/ex01/RPN.cpp index 93851c0..974eb2d 100644 --- a/ex01/RPN.cpp +++ b/ex01/RPN.cpp @@ -6,7 +6,7 @@ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/06/03 12:07:59 by adjoly #+# #+# */ -/* Updated: 2025/06/03 15:56:22 by adjoly ### ########.fr */ +/* Updated: 2025/07/03 14:15:57 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ @@ -18,7 +18,7 @@ #include int add(int first, int second) { return first + second; } -int subst(int first, int second) { return first + second; } +int subst(int first, int second) { return first - second; } int mult(int first, int second) { return first * second; } int div(int first, int second) { if (second == 0)