摘要:
lcis#include#include#include#define maxn 504using namespace std;int a[maxn];int b[maxn];int f[maxn];int pre[maxn][maxn];int biao[maxn];int main(){ int n,m; int t; while(scanf("%d",&n)!=EOF) { memset(f,0,sizeof f); memset(pre,0,sizeof pre); for(int i=1; ib[j]&&ma0;i--... 阅读全文