摘要: BinaryTree.h 1 #ifndef BINARYTREE_H 2 #define BINARYTREE_H 3 4 #include 5 using namespace std; 6 7 const int MAX_NODES_SIZE = 100; 8 9 template class BinaryTree; 10 11 template class ... 阅读全文
posted @ 2007-06-05 14:37 中土 阅读(1170) 评论(0) 推荐(0) 编辑
摘要: GenList.hCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 #ifndef GENLIST_H 2 #define GENLIST_H 3 4 #include 5 6 #define HEAD 0 7 #define ... 阅读全文
posted @ 2007-06-05 12:09 中土 阅读(570) 评论(0) 推荐(0) 编辑
摘要: Fibonacci函数定义: n = 0, fib(n) = 0; n = 1, fib(n) = 1; 其他, fib(n) = fib(n-1)+fib(n-2) Ackerman函数定义: m = 0, ack(m, n) = n+1; n = 0, ack(m, n) = ack(m-1, n); 其他, ack(m, n) = ack(m-1, ack(m, n-1)) 阅读全文
posted @ 2007-06-05 09:07 中土 阅读(3438) 评论(1) 推荐(0) 编辑
©2005-2008 Suprasoft Inc., All right reserved.