Problem | reading |
---|---|
User | Kenniene |
Submission Time | 2024-03-28 23:03:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
reading.cpp: In function ‘int32_t main()’:
reading.cpp:9:5: error: invalid operands of types ‘long long int’ and ‘__gnu_cxx::__promote_2<int, int, double, double>::__type’ {aka ‘double’} to binary ‘operator%’
9 | k %= pow(10, 14);
| ~~^~~~~~~~~~~~~~
reading.cpp:9:18: error: in evaluation of ‘operator%=(long long int, __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double})’
9 | k %= pow(10, 14);
| ^
reading.cpp:14:27: error: invalid operands of types ‘long long int’ and ‘__gnu_cxx::__promote_2<int, int, double, double>::__type’ {aka ‘double’} to binary ‘operator%’
14 | float words = (w * p) % pow(10, 14);
| ~~~~~~~ ^ ~~~~~~~~~~~
| | |
| | __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}
| long long int