Skip to content

Raj-8/power_in_logn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

power_in_logn

int powr(int num,int n){

int res=1; while(n>0){ if(n%2==1){res=res*num; res%=mod;

} n=n>>1;

num=(num*num)%mod;

} return res;

}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published