我的F题是动态规划写法然后类似树结构进行回溯方案。这是我普通数组的实现方式,连交都不让我交,直接显示error,超过内存限制 #include<bits/stdc++.h> #define IOS ios::sync_with_stdio(false);cin.tie(0);cout.tie(0) #define endl '\n' using namespace std; int f[51][51][2501]; struct fib{ int i; int o; int g; }fu[51][51][2501]; int gc[110][110]; void solve() {...