0_0_21377032_30627.cpp: In function 'LL pow_mod(LL, LL)':
0_0_21377032_30627.cpp:2:13: error: invalid operands of types 'LL {aka long long int}' and 'double' to binary 'operator%'
#define MOD 1e9+7
^
0_0_21377032_30627.cpp:8:21: note: in expansion of macro 'MOD'
if(p&1) ret=ret*x%MOD;
^
0_0_21377032_30627.cpp:2:13: error: invalid operands of types 'LL {aka long long int}' and 'double' to binary 'operator%'
#define MOD 1e9+7
^
0_0_21377032_30627.cpp:9:9: note: in expansion of macro 'MOD'
x=x*x%MOD;
^
0_0_21377032_30627.cpp: In function 'int main()':
0_0_21377032_30627.cpp:2:13: error: invalid operands of types 'LL {aka long long int}' and 'double' to binary 'operator%'
#define MOD 1e9+7
^
0_0_21377032_30627.cpp:22:46: note: in expansion of macro 'MOD'
if(n&1) ans=(pow_mod(pow_mod(2,n)-1,m-1)*2%MOD+1)*in%MOD;
^
0_0_21377032_30627.cpp:2:13: error: invalid operands of types 'LL {aka long long int}' and 'double' to binary 'operator%'
#define MOD 1e9+7
^
0_0_21377032_30627.cpp:23:48: note: in expansion of macro 'MOD'
else ans=pow_mod(pow_mod(2,n)-1,m-1)*2%MOD*in%MOD;
^
0_0_21377032_30627.cpp:2:13: error: invalid operands of types 'LL {aka long long int}' and 'double' to binary 'operator%'
#define MOD 1e9+7
^
0_0_21377032_30627.cpp:23:55: note: in expansion of macro 'MOD'
else ans=pow_mod(pow_mod(2,n)-1,m-1)*2%MOD*in%MOD;
^
|