资源列表
约瑟夫演示
- 编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数),一开始人选一个正整数作为报数上限m,从第一个人开始按顺时针方向从自1开始顺序报数,报道m时停止报数。报m的人出列,将他的密码作为新的m值,从他的顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止,设计一个程序求出出列顺序。采用单向循环链表模拟此过程,按照出列的顺序印出各人的编号测试数据:m的初值为20;n=7,7个人的密码依次为:3,1,7,2,4,8,4,首先m的值为6(正确的出列顺序应为6,1
用java写的记事本界面
- 这是用java写的记事本界面
sort
- 排序,冒泡排序,希尔排序,插入排序,选择排序,折半查找-Sort, Bubble Sort, Hill sort, insertion sort, selection sort, binary search
soliton
- Matlab scr ipt simulates a soliton pulse in a kerr medium
ch5-15
- 一个显示动画的JApplet小应用程序.-A display animation applets JApplet
Hamiltonian
- 一个求最邮哈密顿回路算法,很好用,适合作业-a harmiton algorithmic
KME
- code for k-means algorithm
0.1
- MFC制作时间源码 用于开发利用 使用工具是VISUAL C-MFC source code for the development and utilization of production time using the tool is VISUAL C++
movewindows
- 本例演示了怎样移动无标题栏的窗体的方法,程序中涉及到MouseDown、MouseMove、MouseUp三个鼠标事件的使用,我们可以从中学习到它们的用法。 -This example demonstrates how to move without the title bar of the form of methods, procedures relating to the MouseDown, MouseMove, MouseUp events of three mouse use,
KNN1
- machine learning method K-machine learning method KNN
vcPPconststring
- VC++里面常用字符串转换,这里将它收集起来,非常实用-VC++ which used to convert a string, where it collected, very useful
avl
- avl tree insertion deletion code