0_0_20973010_20221.cpp: In function 'LL ksm(LL, LL, LL)':
0_0_20973010_20221.cpp:21:2: error: 'Ll' was not declared in this scope
Ll ans=1;
^
0_0_20973010_20221.cpp:24:11: error: 'ans' was not declared in this scope
if(k&1) ans=mul(ans,a,p);
^
0_0_20973010_20221.cpp:25:3: error: 'ans' was not declared in this scope
ans=mul(ans,ans,p); k>>=1;
^
0_0_20973010_20221.cpp:27:9: error: 'ans' was not declared in this scope
return ans;
^
0_0_20973010_20221.cpp: In function 'int main()':
0_0_20973010_20221.cpp:48:20: error: 'ans' was not declared in this scope
if(gcd(m,10)!=1) ans=0,flag=1;
^
0_0_20973010_20221.cpp:52:4: error: 'ans' was not declared in this scope
ans=e;
^
0_0_20973010_20221.cpp:61:36: error: 'ans' was not declared in this scope
printf("Case %d: %I64d\n",++Case,ans);
^
|