- 博客(3)
- 收藏
- 关注
原创 POJ1503大数相加
InputThe input will consist of at most 100 lines of text, each of which contains a single VeryLongInteger. Each VeryLongInteger will be 100 or fewer characters in length, and will only contain digit
2012-11-24 13:10:14 322
原创 POJ1001大数相乘
需要注意以下几点:1.把前导0去掉2.把10000.0000小数点后面的零去掉3.注意小数点的位置#include #include #include using namespace std; int numa[1000]={0};int numb[1000]={0};int res[1000000]={0};int len,lena,lenb;void
2012-11-23 14:47:29 280
原创 非递归遍历二叉树(前序、后序、中序)
#include#include#includeusing namespace std;typedef struct bitNode{ char value; bitNode*lchild; bitNode*rchild;}bitNode,*bitTree;void createTreeInPreOrder(bitTree& T)//create a bitTree
2012-11-22 20:19:11 310
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人