Problem | ihatenonint |
---|---|
User | Elwinthenerd |
Submission Time | 2024-11-12 10:00:07 |
Score | 0 |
Owl Get a Life
ihatenonint.cpp: In function ‘int main()’:
ihatenonint.cpp:10:22: error: invalid operands of types ‘__gnu_cxx::__promote_2<int, int, double, double>::__type’ {aka ‘double’} and ‘int’ to binary ‘operator%’
10 | cout << (pow(2,N)-1)%998244353;
| ~~~~~~~~~~~~^~~~~~~~~~
| | |
| | int
| __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}