0_0_39317739_3058.cpp: In function 'void solve()':
0_0_39317739_3058.cpp:46:44: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
46 | res=(res+((k-4)*(k-5)/2%mod)%mod)*sum%mod*(sum-1)%mod*(sum-2)%mod*(sum-3)/24%mod;
| ~~~~~~~~~~~~~^
| |
| long long int
0_0_39317739_3058.cpp:46:70: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
46 | res=(res+((k-4)*(k-5)/2%mod)%mod)*sum%mod*(sum-1)%mod*(sum-2)%mod*(sum-3)/24%mod;
| ^
0_0_39317739_3058.cpp:46:82: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
46 | res=(res+((k-4)*(k-5)/2%mod)%mod)*sum%mod*(sum-1)%mod*(sum-2)%mod*(sum-3)/24%mod;
| ^
0_0_39317739_3058.cpp:46:97: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
46 | res=(res+((k-4)*(k-5)/2%mod)%mod)*sum%mod*(sum-1)%mod*(sum-2)%mod*(sum-3)/24%mod;
| ^
|