0_0_39568582_7590.cpp: In function 'void solve()':
0_0_39568582_7590.cpp:60:40: error: invalid operands of types '__gnu_cxx::__promote<double>::__type' {aka 'double'} and 'const long long unsigned int' to binary 'operator%'
60 | res = (res * pow(it.first, it.second)) % mod;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~
| | |
| | const long long unsigned int
| __gnu_cxx::__promote<double>::__type {aka double}
|