0_0_36315442_17260.cpp: In function 'void solve()':
0_0_36315442_17260.cpp:19:23: error: invalid operands of types '__gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}' and 'll {aka long long int}' to binary 'operator%'
cout<<pow(2,tmp-1)%mod<<endl;
^
|