0_0_21377933_2132.cpp: In function 'int main()':
0_0_21377933_2132.cpp:67:48: 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%'
t =t * pow(j/i,f[min(j+i-1,n)] - f[j-1]) % mod;
^
|