0_0_21391965_17839.cpp: In function 'int main()':
0_0_21391965_17839.cpp:4:13: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
#define MOD 1e9+7
^
0_0_21391965_17839.cpp:42:44: note: in expansion of macro 'MOD'
(ta+=(ll)cal[0][j]%MOD*j%MOD)%=MOD;
^
0_0_21391965_17839.cpp:4:13: error: invalid operands of types 'int' and 'double' to binary 'operator%'
#define MOD 1e9+7
^
0_0_21391965_17839.cpp:42:50: note: in expansion of macro 'MOD'
(ta+=(ll)cal[0][j]%MOD*j%MOD)%=MOD;
^
0_0_21391965_17839.cpp:4:13: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
#define MOD 1e9+7
^
0_0_21391965_17839.cpp:43:56: note: in expansion of macro 'MOD'
if(j*j!=i)ta+=((ll)cal[0][i/j]%MOD*(i/j)%MOD)%MOD;
^
0_0_21391965_17839.cpp:4:13: error: invalid operands of types 'int' and 'double' to binary 'operator%'
#define MOD 1e9+7
^
0_0_21391965_17839.cpp:43:66: note: in expansion of macro 'MOD'
if(j*j!=i)ta+=((ll)cal[0][i/j]%MOD*(i/j)%MOD)%MOD;
^
0_0_21391965_17839.cpp:4:13: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
#define MOD 1e9+7
^
0_0_21391965_17839.cpp:46:36: note: in expansion of macro 'MOD'
ans=(ll)ans*ta%MOD;
^
|