0_0_13695026_16201.cpp: In function 'void init()':
0_0_13695026_16201.cpp:11:45: error: invalid operands of types 'long long int [100010]' and 'int' to binary 'operator%'
#define mod 1000000007
^
0_0_13695026_16201.cpp:40:29: note: in expansion of macro 'mod'
ans[i]=(ans%mod+mod)%mod;
^
0_0_13695026_16201.cpp:11:45: error: invalid operands of types 'long long int [100010]' and 'int' to binary 'operator%'
#define mod 1000000007
^
0_0_13695026_16201.cpp:46:29: note: in expansion of macro 'mod'
ans[i]=(ans%mod+mod)%mod;
^
|