摘要:
输入:n个顶点,m条边。 接下来输入每一条边的两个顶点。 输出遍历的顺序 阅读全文
摘要:
输入是各个叶子节点的值,第一个是数值的个数,然后先序遍历这棵树 阅读全文
摘要:
Description Alice and Bob decide to play a new stone game.At the beginning of the game they pick n(1<=n<=10) piles of stones in a line. Alice and Bob 阅读全文
摘要:
http://codeforces.com/contest/985/problem/C C. Liebig's Barrels time limit per test 2 seconds memory limit per test 256 megabytes input standard input 阅读全文