0_0_25998705_6557.cpp: In function 'int main()':
0_0_25998705_6557.cpp:27:34: error: invalid operands of types '__gnu_cxx::__promote_2<int, long long int, double, double>::__type {aka double}' and 'const int' to binary 'operator%'
printf("%lld\n",pow(2,a)%mod*(1+(pow(2,b)-1)%mod+((pow(2,c)-1)%mod*(b+d+1)%mod)%mod+d));
^
0_0_25998705_6557.cpp:27:54: error: invalid operands of types '__gnu_cxx::__promote_2<int, long long int, double, double>::__type {aka double}' and 'const int' to binary 'operator%'
printf("%lld\n",pow(2,a)%mod*(1+(pow(2,b)-1)%mod+((pow(2,c)-1)%mod*(b+d+1)%mod)%mod+d));
^
0_0_25998705_6557.cpp:27:72: error: invalid operands of types '__gnu_cxx::__promote_2<int, long long int, double, double>::__type {aka double}' and 'const int' to binary 'operator%'
printf("%lld\n",pow(2,a)%mod*(1+(pow(2,b)-1)%mod+((pow(2,c)-1)%mod*(b+d+1)%mod)%mod+d));
^
|