摘要: 时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueShopping in Mars is quite a different experience. The Mars people pay by chained diamonds. E... 阅读全文
posted @ 2015-02-05 23:50 小爷 阅读(129) 评论(0) 推荐(0)
摘要: 时间限制150 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven any permutation of the numbers {0, 1, 2,..., N-1}, it is easy to sort them in increasi... 阅读全文
posted @ 2015-02-05 22:36 小爷 阅读(168) 评论(0) 推荐(0)
摘要: 二叉排序 输入一系列整数,建立二叉排序数,并进行前序,中序,后序遍历。输入: 输入第一行包括一个整数n(1 2 #include 3 #include 4 using namespace std; 5 struct Node 6 { 7 Node *lchild; 8 Node *rchi... 阅读全文
posted @ 2015-02-05 20:38 小爷 阅读(635) 评论(0) 推荐(0)