2016年2月27日
    
        
        
摘要:        
1 #include<cstdio> 2 #include<iostream> 3 #define M 10005 4 int a[M],n,d[M],f[M],b[M],tot,m; 5 void jia(int a1) 6 { 7 for(int i=1;i<=d[0];i++) 8 for(;    阅读全文
        
            posted @ 2016-02-27 22:29
xiyuedong
阅读(165)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1 #include<cstdio> 2 #include<queue> 3 #include<iostream> 4 #include<cstring> 5 #define M 1000 6 using namespace std; 7 int n,m,k,e,cnt,head[M],next[2    阅读全文
        
            posted @ 2016-02-27 22:22
xiyuedong
阅读(174)
评论(0)
推荐(0)
        
            
        
        
摘要:        
基尔霍夫矩阵(我也不知道是什么)推出f[i]=(f[i-1]*3-f[i-2]+2)(这其实是我抄的) 还是要高精的。 1 #include<cstdio> 2 #include<iostream> 3 using namespace std; 4 int f[102][102],n; 5 void    阅读全文
        
            posted @ 2016-02-27 21:58
xiyuedong
阅读(162)
评论(0)
推荐(0)
        
            
        
        
摘要:        
把所有的边建出来后跑最小割,题目是最小割并不难理解 1 #include<cstdio> 2 #include<iostream> 3 #include<cstring> 4 #include<queue> 5 #define M 1000009 6 using namespace std; 7 i    阅读全文
        
            posted @ 2016-02-27 21:45
xiyuedong
阅读(222)
评论(0)
推荐(0)
        
            
        
        
摘要:        
刚学编程就会的题,如果你有闲情逸致可以用网络流打 1 #include<cstdio> 2 #include<iostream> 3 int main() 4 { 5 int a,b; 6 scanf("%d%d",&a,&b); 7 printf("%d",a+b); 8 return 0; 9     阅读全文
        
            posted @ 2016-02-27 21:40
xiyuedong
阅读(108)
评论(0)
推荐(0)
        
 
                    
                 
 浙公网安备 33010602011771号
浙公网安备 33010602011771号