04 2018 档案
摘要:来一道裸代码。输入:一个图有向图。输出:它每个强连通分量。 这个图就是刚才讲的那个图。一模一样。 input: 6 8 1 3 1 2 2 4 3 4 3 5 4 6 4 1 5 6 output: 6 5 3 4 2 1 代码: 还有各大理解网站: (杂着看,就可以看懂) http://blog.
        阅读全文
                
摘要:题目:https://vjudge.net/problem/POJ-2186 Every cow's dream is to become the most popular cow in the herd. In a herd of N (1 <= N <= 10,000) cows, you ar
        阅读全文
                
摘要:题目:https://vjudge.net/problem/POJ-3268 One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party to 
        阅读全文
                
摘要:题目:https://vjudge.net/problem/POJ-3190 Oh those picky N (1 <= N <= 50,000) cows! They are so picky that each one will only be milked over some precise
        阅读全文
                
摘要:题目:https://vjudge.net/problem/POJ-3259 While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very pe
        阅读全文
                
摘要:题目: http://codeforces.com/gym/101630 E A young hero is starting his heroic life. The wise wizard suggested him an easy first quest. During this quest o
        阅读全文
                
摘要:inline int Read() { int x = 0, f = 1, c = getchar(); for (; !isdigit(c); c = getchar()) if (c == '-') f = -1; for (; isdigit(c); c = getchar()) x = x * 10 + c...
        阅读全文
                
摘要:题目:https://vjudge.net/problem/POJ-2376 Farmer John is assigning some of his N (1 <= N <= 25,000) cows to do some cleaning chores around the barn. He a
        阅读全文
                
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号