From 9166c027272240d2f5934f09bd9f2295dbc5a5c1 Mon Sep 17 00:00:00 2001 From: Shazid Mashrafi Date: Tue, 15 Aug 2023 22:32:09 +0600 Subject: [PATCH] initial commit --- 1837A Grasshopper on a Line/1837A.cpp | 50 +++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 1837A Grasshopper on a Line/1837A.cpp diff --git a/1837A Grasshopper on a Line/1837A.cpp b/1837A Grasshopper on a Line/1837A.cpp new file mode 100644 index 0000000..17356bf --- /dev/null +++ b/1837A Grasshopper on a Line/1837A.cpp @@ -0,0 +1,50 @@ +#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"<>x>>k; + if(x%k!=0) + cout<<1<> TC; + while (TC--) solve(); +} \ No newline at end of file