From ab29f025387f47a23655b382f3c2c50af74addf5 Mon Sep 17 00:00:00 2001 From: Vichingo455 Date: Sat, 21 Dec 2024 07:23:40 +0000 Subject: [PATCH] Fix a bug on array\array_pari.cpp --- array/array_pari.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/array/array_pari.cpp b/array/array_pari.cpp index 336c10b..8d6e5ce 100644 --- a/array/array_pari.cpp +++ b/array/array_pari.cpp @@ -21,7 +21,6 @@ void printIfPeersOnPeerPositions(int array[]) { if (isPeer(array[i])) { number_peers++; } - i++; } if (number_peers == array_size) cout << "All numbers you gave me are peers." << endl;