From e7cee5734e60bddad0f86d6980f994621a257a38 Mon Sep 17 00:00:00 2001 From: Sheikh Ahmadullah <115889131+SK-AHMD@users.noreply.github.com> Date: Mon, 28 Nov 2022 20:15:58 +0530 Subject: [PATCH] Update 1656B - Subtract Operation.cpp --- Solutions/1656B - Subtract Operation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Solutions/1656B - Subtract Operation.cpp b/Solutions/1656B - Subtract Operation.cpp index 9b8e6b6..a3dc65e 100644 --- a/Solutions/1656B - Subtract Operation.cpp +++ b/Solutions/1656B - Subtract Operation.cpp @@ -20,7 +20,7 @@ int main() { while(jk) j++; if(arr[i]-arr[j]==k) {flag = true; break;} } - if(flag ==true) cout<<"YES\n"; + if(flag) cout<<"YES\n"; else cout<<"NO\n"; }