递推,上代码: #include <iostream> using namespace std; typedef long long ll; const int N = 55; ll f[N][N]; void init<