0_0_17953380_110.cpp: In function 'void work()':
0_0_17953380_110.cpp:20:70: error: invalid operands of types 'LL {aka long long int}' and 'double' to binary 'operator%'
if(j >= a[i]) ( dp[sign][j][s1][s2] += dp[!sign][j-1][s1][s2] ) %= mod;
^
0_0_17953380_110.cpp:20:70: error: in evaluation of 'operator%=(LL {aka long long int}, double)'
0_0_17953380_110.cpp:22:60: error: invalid operands of types 'LL {aka long long int}' and 'double' to binary 'operator%'
(dp[sign][j][s1][s2] += dp[!sign][j-a[i]][s1-1][s2]) %= mod;
^
0_0_17953380_110.cpp:22:60: error: in evaluation of 'operator%=(LL {aka long long int}, double)'
0_0_17953380_110.cpp:24:55: error: invalid operands of types 'LL {aka long long int}' and 'double' to binary 'operator%'
(dp[sign][j][s1][s2] += dp[!sign][j][s1][s2-1]) %= mod;
^
0_0_17953380_110.cpp:24:55: error: in evaluation of 'operator%=(LL {aka long long int}, double)'
0_0_17953380_110.cpp:5:20: error: invalid operands of types 'LL {aka long long int}' and 'double' to binary 'operator%'
#define mod (1e9+7)
^
0_0_17953380_110.cpp:30:32: note: in expansion of macro 'mod'
(ans += dp[sign][i][2][2]) % mod;
^
0_0_17953380_110.cpp:5:20: error: invalid operands of types 'LL {aka long long int}' and 'double' to binary 'operator%'
#define mod (1e9+7)
^
0_0_17953380_110.cpp:32:19: note: in expansion of macro 'mod'
ans = (ans * 2 % mod) * 2 % mod;
^
|