摘要:
http://202.120.106.94/onlinejudge/problemshow.php?pro_id=406此题纠结我一天时间,仍然只是理解了大牛的代码,自己却实现的各种错误,现针对大牛代码给出详细解释,若以后有幸作出此题,必给详细解题过程 1 #include <stdio.h> 2 #include <memory.h> 3 int n,m,r; 4 int dp[501][51][51]; 5 int a[501]; 6 int i,j,k; 7 int main() 8 { 9 int cas;10 scanf("%d",& 阅读全文