0_0_37706961_22798.cpp: In function 'long long int calc(long long int, long long int)':
0_0_37706961_22798.cpp:4:13: error: expected primary-expression before 'long'
#define int long long
^
0_0_37706961_22798.cpp:46:38: note: in expansion of macro 'int'
ret=(ret+(1ll*sum1*sum1-sum2)*(1+int(x>=n))+mod+mod)%mod;
^
0_0_37706961_22798.cpp:4:13: error: expected ')' before 'long'
#define int long long
^
0_0_37706961_22798.cpp:46:38: note: in expansion of macro 'int'
ret=(ret+(1ll*sum1*sum1-sum2)*(1+int(x>=n))+mod+mod)%mod;
^
0_0_37706961_22798.cpp:46:61: error: expected ')' before ';' token
ret=(ret+(1ll*sum1*sum1-sum2)*(1+int(x>=n))+mod+mod)%mod;
^
|