We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
#include<bits/stdc++.h>usingnamespacestd;#define ll long long intlln,s_primitive,number;llpower(lla,llb,llmod){if(b==0)return1;lltemp=power(a,b>>1,mod)%mod;temp=(temp*temp)%mod;if(b&1)temp=temp*a%mod;returntemp;}
Primitive Problem
You are viewing a single comment's thread. Return to all comments →