diff --git a/Codes/1985 G - D-Function/1985G.cpp b/Codes/1985 G - D-Function/1985G.cpp new file mode 100644 index 0000000..71e9b75 --- /dev/null +++ b/Codes/1985 G - D-Function/1985G.cpp @@ -0,0 +1,33 @@ +#include +using namespace std; +#define ll long long +#define endl '\n' +ll pow(ll x,ll y,ll m=1e9+7){ll ans=1;x%=m;while(y){if(y&1)ans=(ans*x)%m;x=(x*x)%m;y>>=1;}return ans;} + +void solve() +{ + ll l,r,k; + cin>>l>>r>>k; + if(k>9) + { + cout<<0<> TCS; + for (int TC = 1; TC <= TCS; ++TC) + { + // cout<<"Case "<