上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 18 下一页
  2016年3月3日
摘要: 1 #include<cstdio> 2 #include<iostream> 3 #define M 1005 4 using namespace std; 5 int fa[M],T,n,m,v[M],kg; 6 int zhao(int a1) 7 { 8 if(fa[a1]==a1) 9 r 阅读全文
posted @ 2016-03-03 23:02 xiyuedong 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 1 program kkul; 2 var a:array[0..32]of longint; 3 n,i,j,k,m:longint; 4 kg:boolean; 5 begin 6 read(n); 7 while n>0 do 8 begin 9 inc(m); 10 a[m]:=n div 阅读全文
posted @ 2016-03-03 22:58 xiyuedong 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1 #include<cstdio> 2 #include<iostream> 3 #include<cstring> 4 #define M 1005 5 using namespace std; 6 int pi[M],n,m,a[M][2],f[M],i; 7 bool xun(int a1) 阅读全文
posted @ 2016-03-03 22:48 xiyuedong 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1 #include<cstdio> 2 #include<iostream> 3 #include<cstring> 4 #define inf 0x7fffffff 5 #define M 5000008 6 #define N 161000 7 using namespace std; 8 i 阅读全文
posted @ 2016-03-03 22:46 xiyuedong 阅读(187) 评论(0) 推荐(0) 编辑
  2016年3月2日
摘要: 1 2 #include<cstdio> 3 #include<iostream> 4 #include<cstring> 5 using namespace std; 6 bool ma[10009]; 7 int n,T,f[30],a[30]; 8 int work(int a1) 9 { 1 阅读全文
posted @ 2016-03-02 22:54 xiyuedong 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1 #include<cstdio> 2 #include<iostream> 3 #include<cstring> 4 using namespace std; 5 int ma[105][105],f[105][105]; 6 char ch[106]; 7 bool pan(int l,in 阅读全文
posted @ 2016-03-02 22:49 xiyuedong 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 1 #include<cstdio> 2 #include<cstring> 3 #include<iostream> 4 using namespace std; 5 int f[10009],a[10009],n,ans; 6 bool pan() 7 { 8 for(int i=2;i<n;i 阅读全文
posted @ 2016-03-02 22:46 xiyuedong 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1 #include<cstdio> 2 #include<iostream> 3 #define M 600 4 int b1[M],b2[M][M],n,m,s,sum[M]; 5 long long f[10][M][M],ans; 6 using namespace std; 7 int m 阅读全文
posted @ 2016-03-02 22:44 xiyuedong 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1 #include<cstdio> 2 #include<iostream> 3 using namespace std; 4 int b[5][5]={{1,1,1,1,1}, 5 {0,1,1,1,1}, 6 {0,0,2,1,1}, 7 {0,0,0,0,1}, 8 {0,0,0,0,0}} 阅读全文
posted @ 2016-03-02 22:33 xiyuedong 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 1 #include<cstdio> 2 #include<iostream> 3 #define M 102 4 using namespace std; 5 int f1[M][M],sum[M],sum1[M],n,m,K,f[M][M][12]; 6 int main() 7 { 8 sca 阅读全文
posted @ 2016-03-02 22:32 xiyuedong 阅读(203) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 18 下一页