From 76b65fc26ef3903f5957bf2e1f79b0ce36077b72 Mon Sep 17 00:00:00 2001 From: anku-13 <72180865+anku-13@users.noreply.github.com> Date: Thu, 1 Oct 2020 09:45:04 +0530 Subject: [PATCH 1/3] Update BRKBKS.cpp --- BRKBKS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BRKBKS.cpp b/BRKBKS.cpp index 2ba30ba..421b4eb 100644 --- a/BRKBKS.cpp +++ b/BRKBKS.cpp @@ -1,4 +1,4 @@ -#include +#include using namespace std; int main() { From 14c1eaba0a1c353ced76606a27768c4515216b66 Mon Sep 17 00:00:00 2001 From: anku-13 <72180865+anku-13@users.noreply.github.com> Date: Thu, 1 Oct 2020 09:45:38 +0530 Subject: [PATCH 2/3] Update BRKBKS.cpp --- BRKBKS.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BRKBKS.cpp b/BRKBKS.cpp index 421b4eb..1bcbc4c 100644 --- a/BRKBKS.cpp +++ b/BRKBKS.cpp @@ -8,9 +8,9 @@ int main() { int s, w1, w2, w3; cin >> s >> w1 >> w2 >> w3; - if(s >= w1+w2+w3) cout << "1" << endl; - else if((s >= w1+w2)||(s >= w2+w3)) cout << "2" << endl; - else cout << "3" << endl; + if(s >= w1+w2+w3) cout << "1" << "\n"; + else if((s >= w1+w2)||(s >= w2+w3)) cout << "2" << "\n"; + else cout << "3" << "\n"; } return 0; } From 8093b702415f2a96cc81202c40a298d3ea374653 Mon Sep 17 00:00:00 2001 From: anku-13 <72180865+anku-13@users.noreply.github.com> Date: Thu, 1 Oct 2020 09:50:30 +0530 Subject: [PATCH 3/3] Update CATFEED.cpp --- CATFEED.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CATFEED.cpp b/CATFEED.cpp index c7e36a5..da397cf 100644 --- a/CATFEED.cpp +++ b/CATFEED.cpp @@ -1,5 +1,4 @@ -#include -#include +#include using namespace std; int main(){