摘要: #includeusing namespace std;int n,a[2][2005],dp[2005][2][3005];int read(){ char c; int x; for(c=getchar();c>'9'||c='0';c=getchar()) x=... 阅读全文