资源列表
a
- 一个整数,它加上100后是一个完全平方数,再加上168又是一个完全平方数,请问该数是多少? 程序分析:在10万以内判断,先将该数加上100后再开方,再将该数加上268后再开方,如果开方后 的结果满足如下条件,即是结果。-An integer, with 100 after it is a perfect square, plus 168 is a perfect square, what is the number of how many? Program analysi
proj3_1
- 桟的各种操作,入栈、出栈操作,判断栈是否为空等操作-Zhan' s various operations, stack, stack operation, waited in vain to determine whether the operation of the stack
proj3_2
- 链栈的出入操作,从顶部元素到底部元素的出入,判断链栈是否为空-Chain out of the stack operation, the Ministry of elements from the top element in the end of access, to determine the chain of the stack is empty
proj3_3
- 对队列的各种操作,队列中各个元素的出入,判断是否为空等操作-Various operations on the queue, the queue out of the various elements, waited in vain to determine whether the operation
a
- 输入某年某月某日,判断这一天是这一年的第几天? 程序分析:以3月5日为例,应该先把前两个月的加起来,然后再加上5天即本年的第几天,特殊 情况,闰年且输入月份大于3时需考虑多加一天。-Input of a certain period of a day, this day is to determine the first few days this year? Program analysis: the March 5, for example, should the f
proj3_4
- 对链队的各种操作,例如链队中各元素的出入,查看元素个数,释放地址空间等操作-Chain team for a variety of operations, such as the elements of the chain out of the team, view the number of elements, the release of address space and other operations
a
- 输入三个整数x,y,z,请把这三个数由小到大输出。 程序分析:我们想办法把最小的数放到x上,先将x与y进行比较,如果x>y则将x与y的值进行交换, 然后再用x与z进行比较,如果x>z则将x与z的值进行交换,这样能使x最小。-Enter three integers x, y, z, the number of small to large output of these three please. Program analysis: we find a way
1--Fibonacci
- C简单写的Fibonacci数的递归算法-C write simple of the number of the Fibonacci recursion algorithm
2--Binsearch
- 利用C语言二分查找的算法实现,供大家参考-Using C language binary search algorithm for your reference
Call-all
- 合并两个有序链表并删除重复字节,在c++下使用-Merge two sorted linked list and remove duplicate bytes, use the c++
Chain
- 链表数据结构,文件为链表数据结构的源代码,不需要自己输入数据,系统随机生成数。-Chain table data structure,Documents for the list of the data structure of source code, do not need oneself to input data, the system randomly generated number.
sort
- 用c语言实现数据结构课本中的排序算法,包括希尔排序,快速排序,堆排序,归并排序,基数排序-Data structure using c language textbooks, sorting algorithms, including the shell sort, quick sort, heap sort, merge sort, radix sort
