0_0_36326075_893.cpp: In function 'int main()':
0_0_36326075_893.cpp:17:31: error: invalid operands of types '__gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}' and 'const int' to binary 'operator%'
cout << pow(2, cnt) % mod << endl;
^
|