摘要:
PROB Number Triangles [ANALYSIS] ----- 简单DP// solution 1 DPint dp[MAXN][MAXN],n;int a[MAXN][MAXN];int main(){ FOPENTI FOPENTO SET(dp,0);SCF(n); F(i,n) F(j,i+1){ SCF(a[i][j]); } for(int k = 0;k<n;k++)... 阅读全文
posted @ 2011-11-21 21:18 MDeath-Kid 阅读(209) 评论(0) 推荐(0) 编辑