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