From ea16ca94bcff9f6a13dda843bd9eb642979d4441 Mon Sep 17 00:00:00 2001 From: Shazid Mashrafi Date: Mon, 7 Aug 2023 02:17:14 +0600 Subject: [PATCH] initial commit --- 318A Even Odds/318A.cpp | 60 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 318A Even Odds/318A.cpp diff --git a/318A Even Odds/318A.cpp b/318A Even Odds/318A.cpp new file mode 100644 index 0000000..de474f0 --- /dev/null +++ b/318A Even Odds/318A.cpp @@ -0,0 +1,60 @@ +#include +using namespace std; + +#define ll long long +#define ul unsigned long long +#define pb push_back +#define ss second +#define ff first +#define fr(n) for(int i=0; i=0; i--) +#define nl '\n' +#define yes cout<<"YES"<>n>>k; + if(k<=n/2) + cout<<2*k-1<> TC; + while (TC--) solve(); +} \ No newline at end of file