-
设有n个人站成一圈,每个人持有一个密码(正整数)。现从第t个人开始,按顺时针方向“1,2,3,4,…”循环报数,数到m1(第t个人所持密码)的人出列,然后从出列...
设有n个人站成一圈,每个人持有一个密码(正整数)。现从第t个人开始,按顺时针方向“1,2,3,4,…”循环报数,数到m1(第t个人所持密码)的人出列,然后从出列者的下一个人重新开始报数,数到m2(刚出列者所持密码)的人又出列,如此重复进行,直到n个人都出列为止。-something like Joseph problem
- 2023-03-09 16:15:03下载
- 积分:1
-
如何将ABCDEFG按照指定的顺序,创建二叉树,
如何将ABCDEFG按照指定的顺序,创建二叉树,-How to ABCDEFG in accordance with the order specified to create binary tree,
- 2022-04-27 05:03:53下载
- 积分:1
-
一个C++写的KdTree容器模板库,支持std容器,和自定义的存储方式,对插入、删除和查找作了优化...
一个C++写的KdTree容器模板库,支持std容器,和自定义的存储方式,对插入、删除和查找作了优化-A C++ Written KdTree Template Library containers, support std containers, and custom storage by means of an insert, delete, and search was made to optimize
- 2022-05-16 17:10:20下载
- 积分:1
-
data structure Cavaliers travel Algorithm
数据结构 之骑士周游算法-data structure Cavaliers travel Algorithm
- 2022-03-21 19:21:23下载
- 积分:1
-
这是一个连接数据库的类,非常有用,感谢指教
这是一个连接数据库的类,非常有用,感谢指教-This is a type of database connections, very useful
- 2022-09-22 23:15:02下载
- 积分:1
-
The use of linked list data structure algorithms, will be made up of expressions...
使用链表数据结构算法,将中缀表达式转变为后缀表达式。-The use of linked list data structure algorithms, will be made up of expressions into expressions suffix.
- 2023-07-04 05:55:02下载
- 积分:1
-
编译原理中在自下而上分析和优先分析方法中使用的Washall算法...
编译原理中在自下而上分析和优先分析方法中使用的Washall算法-Compilation Principle of priority in the bottom-up analysis and analytical methods used in Washall algorithm
- 2022-08-18 08:36:23下载
- 积分:1
-
思想很简单,就是一个循环链表
但要说明的是:我之所以用clist(1)来初始化,主要是我刚开始编的时候没打算解决约瑟夫环,只是想编一个带表头的循环链表...
思想很简单,就是一个循环链表
但要说明的是:我之所以用clist(1)来初始化,主要是我刚开始编的时候没打算解决约瑟夫环,只是想编一个带表头的循环链表,然后我用从这个程序改过来的,所以代码可以进一步优化。-Thinking is very simple, that is, a cycle list but would like to note is: I use clist (1) to initialize, mainly because I had just started when Joseph did not intend to resolve the ring, just want to provision a table with the head circulation list, and then I used to come from this process, so the code can be further optimized.
- 2022-09-15 15:25:03下载
- 积分:1
-
on data structures and algorithms is the teacher's curriculum courseware all...
这是我上数据结构和算法课程是老师的课件 所有算法都用c++实现拉 .比用伪代码描叙要 好得多-on data structures and algorithms is the teacher"s curriculum courseware all algorithms are used to achieve c Rafah. Pseudo code than depicts much better
- 2022-05-18 01:14:35下载
- 积分:1
-
delphi中使用ADO的源代码
delphi中使用ADO的源代码-use of the source code for ADO
- 2022-06-27 13:44:22下载
- 积分:1