Problem platonic11
User god
Submission Time 2026-02-09 16:44:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic11.cpp: In function ‘int main()’:
platonic11.cpp:17:28: error: invalid operands of types ‘__gnu_cxx::__promote_2<int, long long int, double, double>::__type’ {aka ‘double’} and ‘int’ to binary ‘operator%’
17 | cout << (sum * pow(2, y)) % 676767676;
| ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
| | |
| | int
| __gnu_cxx::__promote_2<int, long long int, double, double>::__type {aka double}