From 26c3824c18bc6d3f784ee30363a8a885e2f73492 Mon Sep 17 00:00:00 2001 From: Eric Samuel Barrionuevo Date: Fri, 26 Aug 2022 13:32:12 -0300 Subject: [PATCH] Update BinarySearch1Spoj --- BinarySearch1Spoj | 1 + 1 file changed, 1 insertion(+) diff --git a/BinarySearch1Spoj b/BinarySearch1Spoj index f2426be..da87ae7 100644 --- a/BinarySearch1Spoj +++ b/BinarySearch1Spoj @@ -14,6 +14,7 @@ int main () scanf ("%d", &X); //read the number we are searching result=-1; + Left=0; Right=n-1; while (Left <= Right) {