Problem eescapism
User ForgottenDragon
Submission Time 2025-04-06 10:04:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eescapism.cpp: In function ‘int main()’:
eescapism.cpp:22:28: error: invalid operands of types ‘long long int’ and ‘__gnu_cxx::__promote_2<int, int, double, double>::__type’ {aka ‘double’} to binary ‘operator%’
22 | long long modulo = effort % (pow(10,9) + 7);
| ~~~~~~ ^ ~~~~~~~~~~~~~~~
| | |
| long long int __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}