资源列表
1076
- 子集合问题 子集和问题的一个实例为〈S,t〉。其中,S={x1 ,x2 ,…,xn }是一个正整数的集合,c是一个正整数。子集和问题判定是否存在S的一个子集S1,使得S1中元素的和等于c,设计一个解子集和问题的回溯算法. 输 入: 第一行2个数,n(集合S的大小)和c(子集和的目标值) 第二行n个数表示集合中的元素 输出:无解时输出一行"No Solution!↵ "(中间一个空格) 有解时输出子集中的元素(输出顺序按照输入时的先后顺序) 如: 输入:
1_3
- 获得一个四边形的长和宽,可以输入长和宽,十分简单。-Be a quadrilateral of the length and width, you can enter the length and width, is very simple.
Digital-Clock
- 数字时钟相信大家都知道,但是用c语言怎么来实现呢,请看文档-Digital clock I believe we all know, but how to use c language to realize it, see the documentation
triangle
- 用来判断三角形属于什么类型,如等边三角形、直角三角形-to judge which kind of triangle it is
c
- 输入某年某月某日,判断这一天是这一年的第几天?-Input on a certain day, judgment day is the first few days this year?
Cpp2
- 产生哈密顿算法的回路,算法简单,产生的回路不全,有待改善-Create Hamilton Circuit
null_decode
- 空值的null 的按照asn.1规则 解码程序的代码-Null null values in accordance with the rules asn.1 decoding program code. . . Thank you
1031
- 设X[0:n-1]和Y[0:n-1]为两个数组,每个数组中含有n个已排好序的数。试设计一个O(logn)时间算法,找出X和Y的2n个数的中位数并输出。-Set X and Y [0: n- 1] [0: n- 1) for the two arrays, each array containing n number that have been sequenced. Try to design a O (logn) time algorithm, to find out in the media
CSharp-read
- C#自动获取串口,自动获取PC机中的有效的串口,并显示在combox件中!-failed to translate
frequency-response-function-
- 通过小锤敲击锚杆,采集力和加速度信号,计算得到频响函数-Through a small hammer percussion anchor, gathering force and acceleration signals, frequency response function is calculated
Binary-search
- Binary search with recurcion using C-Binary search with recurcion using C++
primeNumber
- 求1000以内的质数,自己实现的程序,算法的时间复杂度较好-Find prime numbers less than 1000