From 2a141c72b0f15aede72c8ba939339ca41526dd3a Mon Sep 17 00:00:00 2001 From: Mehul KUMAR <61342984+mehul-2000@users.noreply.github.com> Date: Fri, 11 Feb 2022 13:17:30 +0530 Subject: [PATCH] Added Bob and Impossible Caluclations.cpp solution --- .../Bob and Impossible Calculations.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Coding Exercise Solutions/Bob and Impossible Calculations.cpp diff --git a/Coding Exercise Solutions/Bob and Impossible Calculations.cpp b/Coding Exercise Solutions/Bob and Impossible Calculations.cpp new file mode 100644 index 0000000..0c3c5af --- /dev/null +++ b/Coding Exercise Solutions/Bob and Impossible Calculations.cpp @@ -0,0 +1,14 @@ +#include +using namespace std; + +int solve(int n,int m, vector arr){ + long long ans = 1; + for(int i=0;i