文件名称:NEWJ
介绍说明--下载内容均来自于网络,请自行研究使用
我用C++写的分解质因数算法和排队报数算法。其中排队问题为:若干人站成一个首尾相连的环,从第一个人开始从1到3报数,每次数到3的人站出来,问最后剩下的那个人是原先的第几个人。-I with C++ write the prime factorization algorithm and the number of queued message algorithm. Queuing problem: a number of people standing in a ring of end-to-end, from the first person from 1 to 3 the number of reported each number to 3 people to stand up and ask the last remaining original first few people .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
NEWJ.cpp