0_0_14914909_17554.cpp: In function 'int main()':
0_0_14914909_17554.cpp:64:55: error: invalid operands of types '__gnu_cxx::__promote_2<int, long long int, double, double>::__type {aka double}' and 'll {aka long long int}' to binary 'operator%'
printf("%lld\n",((pow(2, n) - 2) + mod) % mod);
^
|