Problem pythonindentation
User popperoni
Submission Time 2023-12-15 22:34:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pythonindentation.cpp: In function ‘int main()’:
pythonindentation.cpp:31:24: error: invalid operands of types ‘__gnu_cxx::__promote_2<int, long long int, double, double>::__type’ {aka ‘double’} and ‘long long int’ to binary ‘operator%’
31 | cout << pow(2, count) % ((long long)1e9 + 7);
| ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~
| | |
| | long long int
| __gnu_cxx::__promote_2<int, long long int, double, double>::__type {aka double}