From 2f24fff4760f48e319ee83f3e8b31e300a9e9895 Mon Sep 17 00:00:00 2001 From: ShazidMahsrafi Date: Fri, 28 Jul 2023 01:19:08 +0600 Subject: [PATCH] initial commit --- 1676A Lucky/1676A.cpp | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 1676A Lucky/1676A.cpp diff --git a/1676A Lucky/1676A.cpp b/1676A Lucky/1676A.cpp new file mode 100644 index 0000000..b38f4fb --- /dev/null +++ b/1676A Lucky/1676A.cpp @@ -0,0 +1,33 @@ +#include +using namespace std; +using ll = long long; + + +void solve() +{ + string s; + cin>>s; + int first_sum=0, last_sum=0; + for(int i=0; i> TC; + cin.ignore(); + while (TC--) solve(); +} \ No newline at end of file