0_0_29149246_16018.cpp: In function 'long long int quick_pow(long long int, long long int)':
0_0_29149246_16018.cpp:9:13: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
#define mod 1e8+7
^
0_0_29149246_16018.cpp:19:26: note: in expansion of macro 'mod'
if(m&1) sum=(sum*base)%mod;
^
0_0_29149246_16018.cpp:9:13: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
#define mod 1e8+7
^
0_0_29149246_16018.cpp:21:23: note: in expansion of macro 'mod'
base= (base * base)%mod;
^
0_0_29149246_16018.cpp: In function 'int main()':
0_0_29149246_16018.cpp:9:13: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
#define mod 1e8+7
^
0_0_29149246_16018.cpp:59:7: note: in expansion of macro 'mod'
k=k%mod;
^
|