搜索资源列表
exp1
- 需要利用有序链表来实现一元稀疏多项式的表示及加法运算的简单计算程序,其基本功能有: (1)输入并建立两个多项式; (2)多项式f1(x)与f2(x)相加,建立和多项式f3(x); (3)输出多项式f1(x),f2(x),f3(x)。-Need to use ordered lists to implement a dollar sparse representation of polynomials of simple addition operations and calculat
Fibonacci
- 4阶斐波那契序列如下:f0=f1=f2=0, f3=1,…,fi=fi-1+fi-2+fi-3+fi-4, 利用容量为k=4的循环队列,构造序列的前n+1项(f0, f1 , f2 ,… fn ),要求满足fn ≤200而fn+1 >200。 -4-order Fibonacci sequence is as follows: f0 = f1 = f2 = 0, f3 = 1, ..., fi = fi-1+ fi 2+ fi-3+ fi-4, With size k = 4
File-merger
- 先生成两个二进制整数文件f1,f2。然后将f1和f2按照下面规则合并成二进制文件。 f3:假设f3中的数据为x,则x存在于f1中但不存在于f2中,或者x存在于f2中, 但不存在于f1中。即f3中的数据是由存在于f1或f2但不同时存在于f1和f2的数组成。-Mr. into two binary integer file f1, f2. Then f1 and f2 are merged into a binary file according to the following rules. f3