0_0_17407428_5086.cpp: In function 'll solve1(ll)':
0_0_17407428_5086.cpp:34:45: error: invalid operands of types '__gnu_cxx::__promote_2<int, long long int, double, double>::__type {aka double}' and 'const long long int' to binary 'operator%'
return (pow(6,n) + 24) * pow(30,2009) % mod;
^
0_0_17407428_5086.cpp: In function 'll solve2(ll)':
0_0_17407428_5086.cpp:39:43: error: invalid operands of types '__gnu_cxx::__promote_2<int, long long int, double, double>::__type {aka double}' and 'const long long int' to binary 'operator%'
return (pow(6,n) - 1) * pow(5,2009) % mod;
^
|