摘要: 1.计算结果用链表存储的2000!的阶乘算法#include "stdio.h"#include "stdlib.h"#include "string.h"typedef struct _numNode{ char num[100]; struct _numNode* prior; ... 阅读全文
posted @ 2013-10-08 09:47 登高行远 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 本篇随笔主要把平时练习的各种算法的小段代码汇集于此,以备日后查看1.Hanoi递归求解#include "stdio.h"#include "conio.h"int cout;void move(int h,char c,char f){ printf("%d:%c--->%c\n",h,c,... 阅读全文
posted @ 2013-10-08 09:23 登高行远 阅读(728) 评论(2) 推荐(2) 编辑