0_0_36695668_22632.cpp: In function 'double solve(double*, double*, int, int)': 0_0_36695668_22632.cpp:18:74: error: 'minkfuck' was not declared in this scope dp[i%2][j] = minkfuck(dp[i%2][j-1], dp[(i+1)%2][j] + fabs(p[i+j]-q[i])); ^