摘要:
1 //最大上升子序列和 2 #include<iostream> 3 #include<cstdio> 4 #include<cstdlib> 5 using namespace std; 6 const int maxx=1001; 7 int a[maxx],g[maxx]; 8 int ma 阅读全文
posted @ 2017-04-07 20:09
ANhour
阅读(734)
评论(0)
推荐(1)
摘要:
1 //怪盗基德的滑翔翼 2 #include<iostream> 3 #include<cstdio> 4 #include<cstdlib> 5 #include<cstring> 6 using namespace std; 7 const int maxx=102; 8 int a[maxx 阅读全文
posted @ 2017-04-07 20:07
ANhour
阅读(937)
评论(0)
推荐(0)
摘要:
1 //最长公共子序列 2 #include<iostream> 3 #include<cstdio> 4 #include<cstdlib> 5 using namespace std; 6 string s1,s2; 7 int f[100][100]; 8 int main() 9 { 10 阅读全文
posted @ 2017-04-07 20:07
ANhour
阅读(128)
评论(0)
推荐(0)
摘要:
1 //合唱队形 (同登山) 2 #include<iostream> 3 #include<cstdio> 4 #include<cstdlib> 5 using namespace std; 6 const int maxx=101; 7 int a[maxx],b[maxx],c[maxx]; 阅读全文
posted @ 2017-04-07 20:05
ANhour
阅读(478)
评论(0)
推荐(0)
摘要:
第一讲、Fibonacii (1) 1 //斐波那契递归求解 2 #include<iostream> 3 #include<cstdio> 4 #include<cstdlib> 5 using namespace std; 6 int f(int x) 7 { 8 if(x==1||x==2)r 阅读全文
posted @ 2017-04-07 19:15
ANhour
阅读(209)
评论(0)
推荐(0)

浙公网安备 33010602011771号