- 博客(3)
- 收藏
- 关注
原创 多项式计算//线性表练习
/*完成度 1系数&指数输入并创立多项式 2多项式形式输出 3多项式相加 4多项式相减 5多项式乱序输入整理 6带入x的值并计算 7多项式乘法 */ #include #include struct term{ float coe; int index; struct term * next; }formu1,formu2, *p, *p1,result; int mai
2017-11-18 09:33:55 269
原创 离散事件模拟——银行队列问题//数据结构作业
//银行——离散事件模拟 #include<stdio.h> #include<stdlib.h> struct event{ int type,occurtime,money;//type为0,到达;为1,离开窗口;occurtime为0到600; }ev1,ev2; struct eventnode{ int type; int occurt...
2017-11-18 09:30:01 1093
转载 huffman实现文件压缩
//mark一下#include #include #include #include struct head{ unsigned char b; long count; /*the frequency*/ long parent,lch,rch; char bits[256]; }header[5
2017-11-18 09:26:05 448 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人