摘要:        
http://codeforces.com/contest/330/problem/B这道题可以围着一个可以与任何一个城市建路的城市建设。 1 #include 2 #include 3 #include 4 using namespace std; 5 6 bool g[1001][100...    阅读全文
posted @ 2014-04-17 19:42
null1019
阅读(180)
评论(0)
推荐(0)
        
            
        
        
摘要:        
http://acm.hdu.edu.cn/showproblem.php?pid=3371这道题要注意重边。 1 #include 2 #include 3 #include 4 #define maxn 1000 5 using namespace std; 6 const int inf...    阅读全文
posted @ 2014-04-17 18:31
null1019
阅读(129)
评论(0)
推荐(0)
        
            
        
        
摘要:        
http://codeforces.com/contest/327/problem/B这道题素数打表就行。 1 #include 2 #include 3 #include 4 #include 5 #define maxn 2000100 6 using namespace std; 7 ...    阅读全文
posted @ 2014-04-17 16:45
null1019
阅读(143)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号