资源列表
[数据结构常用算法] guess_number
说明:猜数位 首先自动产生一个n位0-9数字,每位上的数字互不相同。 然后,程序接受玩家输入所猜测的n位不重复的数字; 接着,由程序比对符合的位数以及不符合但有出现的数字的数量。完全符合的数字会以A来表示,而不符合正确位置但有出现的数字则以B来表示。举例,如果正确答案是2345且玩家猜的是4395,则会得到2A1B。 最后,玩家在m次内猜测出完全相符的数字组合即为胜利。若没有在指定m回合完成,则给出准确答案。<Issaccu> 在 2025-04-08 上传 | 大小:455kb | 下载:0
[数据结构常用算法] numbers_out
说明:试编写一个函数,用整数序列1、 2、 3、 ……、n人的顺序队列,第1趟出列奇数位置的人员,第2趟出列偶数位置, ……,如此类推,求第m趟出列的人员编号。采用单链表表示及求解过程中使用的数据结构。-Try to write a function, with the sequence of integers 1, 2, 3, ......, n people the order queue, the first trip out of t<Issaccu> 在 2025-04-08 上传 | 大小:50kb | 下载:0
[数据结构常用算法] trains_out
说明:火车出站问题,一列有n节车厢的火车,每节车厢进站出站为先进后出的机制,求所有可能的车厢出站顺序-The train station problem, there is an n carriages of the train, each car is inbound outbound, last-out mechanism, to do everything possible car outbound order<Issaccu> 在 2025-04-08 上传 | 大小:1kb | 下载:0
[数学计算/工程计算] find_prime_numbers
说明:利用是否被素数的整除来筛选一定范围内的素数-Whether the use of prime numbers are divisible by screening a range of prime numbers<Issaccu> 在 2025-04-08 上传 | 大小:50kb | 下载:0
[matlab例程] wordCounter
说明:matlab所使用的统计文章中的英文总字数算法,可以分为计算标点与不计算标点两种情况。- This is a word count function of the text file named fileName. opts indicates whether or not to count punctuations: 1 for counting punctuation 0 for not counting pun<马浩然> 在 2025-04-08 上传 | 大小:1kb | 下载:0
[matlab例程] shipin-and--emd
说明:这是 MATLAB 的时频分析工具箱,同时还带有部分EMD程序包。-This is the MATLAB time-frequency analysis toolbox, along with some EMD packages.<请问> 在 2025-04-08 上传 | 大小:2.17mb | 下载:0
[matlab例程] wavelet-and-xingtaixue
说明:它可以用来进行小波变换以及形态学中的滤波,希望对大家有帮助。-It can be used for wavelet transform and morphological filtering, we hope to be helpful<请问> 在 2025-04-08 上传 | 大小:15.86mb | 下载:0