0_0_17935937_13063.cpp: In function 'int main()':
0_0_17935937_13063.cpp:3:19: error: invalid operands of types 'int' and 'double' to binary 'operator%'
#define mod (1e9+7)
^
0_0_17935937_13063.cpp:42:21: note: in expansion of macro 'mod'
ans = ans*2%mod;
^
0_0_17935937_13063.cpp:3:19: error: invalid operands of types 'int' and 'double' to binary 'operator%'
#define mod (1e9+7)
^
0_0_17935937_13063.cpp:43:21: note: in expansion of macro 'mod'
ans = ans*2%mod;
^
|