Problem | nis |
---|---|
User | DoubleShaurya |
Submission Time | 2024-02-26 17:41:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nis.cpp: In function ‘long long int countLIS(std::vector<long long int>&)’:
nis.cpp:21:28: error: invalid operands of types ‘__gnu_cxx::__promote_2<int, long long int, double, double>::__type’ {aka ‘double’} and ‘int’ to binary ‘operator%’
21 | return pow(2, maxLength) % 1000000007;
| ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
| | |
| | int
| __gnu_cxx::__promote_2<int, long long int, double, double>::__type {aka double}