资源列表
[Windows编程] Josephus
说明:具体功能为: 编号为1,2,......,n的n个人按照顺时针方向围坐一圈,每个人有且只有一个密码(正整数)。一开始任选一个正整数作为报数上限值,从第一个人开始顺时针方向自1开始报数,报到m时停止报数。报m 的人出列,将他的密码作为新的m值,从他在顺时针方向的下一个人开始重新报数,如此下去,直到所有人全部出列为止; 如输入整型数据:1 2 3 4 5 6,输出为2 4 3 1 5 6-You are now use the list is the basis of Joseph ring<> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[Windows编程] Special-matrix-of-storage
说明:本程序为特殊矩阵的存储程序,以菜单的形式实现了对称矩阵,上三角矩阵,下三角矩阵,三对角矩阵的存储。存储地址包括相对地址和绝对地址。 程序运行后,请先输入矩阵的行数,即列数。然后在数组最大范围内输入矩阵的数据。 就会显示出特殊矩阵的存储情况。-The procedures for the special matrix storage procedures to the form of menu realized the symmetric matrices, the triangle ma<> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[Windows编程] SI-unit-conversion
说明:#include <iostream> using namespace std int main() { int fahr int celc int go = 0 cout << "This is a converter software" << endl << endl cout << "Please choose 1 convertion" << endl << en<zaed> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[其他小程序] NFA-to-DFA
说明:Theory: NDFA: It is a mathematical model containing 5 tuples a) Q- finite non empty set elements of which are called as state. b) T- set of alphabets. c) δ- is a mapping function Q*{T {λ}}*2Q d) S-start state i.e. S ε Q e) F- F (su<Merwyn> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[其他小程序] Warshall-Algorithm
说明:Warshall’s Algorithm You are given Warshall’s Algorithm. Write a C-Program to accept the following initial matrix. 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 Perform the steps of Warshal<Merwyn> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[其他小程序] datejday.tar
说明:实现年月日和年儒略日互相转换的程序,里面包含两个文件: date2jday (年月日转为年儒略日) jday2date (年儒略日转为年月日)-convert "year month day" format between "year julian day" format<张> 在 2025-06-14 上传 | 大小:1kb | 下载:0