0_0_29617121_2006.cpp:2:29: error: '__int' has not been declared
__int64 quick_pow(__int64 a,__int 64 b,__int64 mod)
^
0_0_29617121_2006.cpp:2:35: error: expected ',' or '...' before numeric constant
__int64 quick_pow(__int64 a,__int 64 b,__int64 mod)
^
0_0_29617121_2006.cpp: In function 'long long int quick_pow(long long int, int)':
0_0_29617121_2006.cpp:5:10: error: 'b' was not declared in this scope
while(b)
^
0_0_29617121_2006.cpp:7:22: error: 'mod' was not declared in this scope
if(b&1)ans=ans*a%mod;
^
0_0_29617121_2006.cpp:8:11: error: 'mod' was not declared in this scope
a=a*a%mod;
^
0_0_29617121_2006.cpp: In function 'int main()':
0_0_29617121_2006.cpp:20:43: error: too many arguments to function 'long long int quick_pow(long long int, int)'
else printf("%l64d\n",quick_pow(2,n,p));
^
0_0_29617121_2006.cpp:2:9: note: declared here
__int64 quick_pow(__int64 a,__int 64 b,__int64 mod)
^
|