摘要:
以最大连续子序列和算法为例。 算法源代码: 1 #include<bits/stdc++.h> 2 #define N 1000000 3 using namespace std; 4 5 int n; 6 int a[N],dp[N]; 7 int MAXN=-(1<<30); 8 9 int m 阅读全文
摘要:
地址:http://ybt.ssoier.cn:8088/problem_show.php?pid=1392 #include<bits/stdc++.h> using namespace std; int n,m,num; struct edge{ int a,b,c; }mp[90005];// 阅读全文