-
设有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
-
一元稀疏多项式计算器[加法和乘法] 问题描述: 设计一元系数多项式计数器实现两个多项式间的加法、减法。 基本要求: (1) 输入并建立多项式 (2) 输出多项式...
一元稀疏多项式计算器[加法和乘法] 问题描述: 设计一元系数多项式计数器实现两个多项式间的加法、减法。 基本要求: (1) 输入并建立多项式 (2) 输出多项式,输出形式为整数序列:n,c1,e1,c2,e2……cn,en,其中n是多项式的项数,ci,ei分别为第i项的系数和指数。序列按指数降序排列。 (3) 多项式a和b相加,建立多项式a+b,输出相加的多项式。 (4) 多项式a和b相减,建立多项式a-b,输出相减的多项式。 用带表头结点的单链表存储多项式。 测试数据: (1) (2x+5x8-3.1x11)+(7-5x8+11x9) (2) (6x-3-x+4.4x2-1.2x9)-(-6x-3+5.4x2+7.8x15) (3) (x+x2+x3)+0 (4) (x+x3)-(-x-x-3)-one yuan sparse polynomial calculator [Addition and multiplication] Problem description : Design one yuan polynomial coefficient counter achieve the two polynomials addition, subtraction. Basic requirements : (a) input and the establishment of polynomial (2) output polynomial, the output form of integer sequence : n, c1, e1, c2, e2 ... cn, en, where n is the polynomial Number, ci, ei for the first item i the coefficients and indexes. By sequencing index in descending order. (3) a and b polynomial addition, the establishment of a polynomial b, the combined output polynomial. (4) a and b polynomial subtraction, the establishment of a polyno
- 2022-10-15 00:45:03下载
- 积分:1
-
算法设计的分支限界法中的单源最短路径问题的实现,是用VC++编写的...
算法设计的分支限界法中的单源最短路径问题的实现,是用VC++编写的-algorithm design of branch and bound method of single source shortest path to the realization of the problem is with VC++ prepared
- 2022-07-27 08:04:35下载
- 积分:1
-
with eyes turned to the mouse control
跟着鼠标转的眼睛控-with eyes turned to the mouse control
- 2022-03-04 02:17:09下载
- 积分:1
-
数据库索引功能 C 语言源码
数据库索引功能 C 语言源码-database indexing functions C language source code
- 2022-02-07 23:13:16下载
- 积分:1
-
C++面试试题,值得一看
C++面试试题,值得一看-C interview questions, the eye-catcher
- 2022-03-06 19:41:08下载
- 积分:1
-
使用 visual basic 的计算器
计算器是最有用和最使用装置的人几个世纪以来。即使在今天,它是一个重要的工具来执行复杂的计算涉及代数、 概率等。Visual basic 6.0 作为前端和任何后端可以为它。这将使学习者学会 vb 在更有效的方式。甚至连通性的各种前端与后端可以用轻微的修改完成。
- 2022-01-25 22:06:37下载
- 积分:1
-
SSD9课程的exercise的最终版本源代码,包括数据库的脚本文件
SSD9课程的exercise的最终版本源代码,包括数据库的脚本文件-SSD9 the final version of the exercise program source code, including database script files
- 2023-07-11 14:05:05下载
- 积分:1
-
Queen
皇后问题,第2解法! 皇后问题,第2解法!-Queen
- 2022-01-27 20:31:45下载
- 积分:1
-
数据结构大作业-变长记录类库
数据结构大作业-变长记录类库-data structure large operations- variable length record library
- 2022-03-30 13:57:59下载
- 积分:1