摘要:        
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3602Count the TreesTime Limit:2 Seconds Memory Limit:65536 KBA binary tree is a tree data...    阅读全文
posted @ 2015-05-02 22:15
悠游天地间
阅读(192)
评论(0)
推荐(0)
            
        
        
摘要:        
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3608Signal DetectionTime Limit:2 Seconds Memory Limit:65536 KBParallelepipedTypePrismFace...    阅读全文
posted @ 2015-05-02 22:10
悠游天地间
阅读(393)
评论(0)
推荐(0)
            
        
        
摘要:        
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3606Lazy SalesgirlTime Limit:5 Seconds Memory Limit:65536 KBKochiya Sanae is a lazy girl ...    阅读全文
posted @ 2015-05-02 22:05
悠游天地间
阅读(211)
评论(0)
推荐(0)
            
        
        
摘要:        
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3605Find the MarbleTime Limit:2 Seconds Memory Limit:65536 KBAlice and Bob are playing a ...    阅读全文
posted @ 2015-05-02 21:57
悠游天地间
阅读(287)
评论(0)
推荐(0)
            
        
        
摘要:        
Prufer数列 Prufer数列是无根树的一种数列。在组合数学中,Prufer数列由有一个对于顶点标过号的树转化来的数列,点数为n的树转化来的Prufer数列长度为n-2。它可以通过简单的迭代方法计算出来。它由Heinz Prufer于1918年在证明cayley定理时首次提出。目录1将树转化成...    阅读全文
posted @ 2015-05-02 21:18
悠游天地间
阅读(935)
评论(0)
推荐(0)
            
        
        
摘要:        
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3604Tunnel NetworkTime Limit:2 Seconds Memory Limit:65536 KBCountry Far-Far-Away is a big...    阅读全文
posted @ 2015-05-02 21:14
悠游天地间
阅读(598)
评论(0)
推荐(0)
            
        
        
摘要:        
//求gcd(a,b)LLgcd(LLa,LLb){returnb?gcd(b,a%b):a;}//求整数x和y,使得ax+by=d,且|x|+|y|最小。其中d=gcd(a,b)voidgcd(LLa,LLb,LL&d,LL&x,LL&y){if(!b){d=a;x=1;y=0;}else{gcd...    阅读全文
posted @ 2015-05-02 21:11
悠游天地间
阅读(202)
评论(0)
推荐(0)
            
        
        
摘要:        
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3601Unrequited LoveTime Limit:16 Seconds Memory Limit:131072 KBThere arensingle boys andm...    阅读全文
posted @ 2015-05-02 17:58
悠游天地间
阅读(201)
评论(0)
推荐(0)
            
        
        
摘要:        
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3607Lazier SalesgirlTime Limit:2 Seconds Memory Limit:65536 KBKochiya Sanae is a lazy gir...    阅读全文
posted @ 2015-05-02 17:15
悠游天地间
阅读(197)
评论(0)
推荐(0)
    
 
                    
                 
 浙公网安备 33010602011771号
浙公网安备 33010602011771号