diff --git a/Easy/Day9/Solution.cpp b/Easy/Day9/Solution.cpp index 7056c69..b5a7a55 100644 --- a/Easy/Day9/Solution.cpp +++ b/Easy/Day9/Solution.cpp @@ -1 +1,18 @@ -// Write your code here \ No newline at end of file +#include +using namespace std; +int main(){ + int n,m; + cin>>n>>m; + int num=n; + long long a=1,b=1; + while(n){ + a*=n; + n--; + } + n=num-m; + while(n){ + b*=n; + n--; + } + cout<<(a/b)%1000000007; +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 4c75b09..561e396 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "DSA_Dojo", + "name": "dsa_dojo", "lockfileVersion": 3, "requires": true, "packages": {