0_0_37492336_26997.cpp: In function 'void init()':
0_0_37492336_26997.cpp:41:63: error: invalid operands of types '__gnu_cxx::__promote_2<long long int, int, double, double>::__type {aka double}' and 'const int' to binary 'operator%'
f[i] = (f[i - 2] + pow(x, 3) - pow(x - 1, 3) + mod) % mod;
^
|