-
约瑟夫问题。有N个人围成一圈,按顺序编号。从第一个人开始报数,疏导m时候该人退出,并且下一个从1开始报数。求出圈人的顺序。...
约瑟夫问题。有N个人围成一圈,按顺序编号。从第一个人开始报数,疏导m时候该人退出,并且下一个从1开始报数。求出圈人的顺序。-Joseph problems. There are N individuals and form a circle, according to sequentially numbered. Starting from the first person reported that the number of times to ease the person out of m, and the next one starting from a newspaper a few. Find the circle of people order.
- 2022-08-15 13:00:55下载
- 积分:1
-
Insertion sort
insertion_sort.cpp
#include
#include
#include
#define N 5000
int insertion_sort( int data_insert[] );
void creat_file( char *file_name, int data_file[] );
int main(int argc, char *argv[]){
int data[N];
creat_file( argv[1], data );
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-03-05 04:13:51下载
- 积分:1
-
operation research
operation research
- 2022-03-25 03:40:19下载
- 积分:1
-
是个数学建模源代码
是个数学建模源代码-is a mathematical modeling source code
- 2022-05-24 14:03:17下载
- 积分:1
-
此函数通过两点的大地经纬度(Ja,Wa)和(Jb,Wb)计算两点间距离 Dis...
此函数通过两点的大地经纬度(Ja,Wa)和(Jb,Wb)计算两点间距离 Dis -this function through the 2:00 and Geodesy (Ja, Wa) and ( `, mg) calculated the distance between two points Dis
- 2022-07-19 07:05:55下载
- 积分:1
-
使用fdtd算法计算光子晶体的模式折射率
使用fdtd算法计算光子晶体的模式折射率-Fdtd algorithm using photonic crystal pattern of refractive index
- 2023-05-02 00:00:03下载
- 积分:1
-
use VC read seismic data files
使用VC读取地震数据文件-use VC read seismic data files
- 2022-08-25 12:27:46下载
- 积分:1
-
I have written a small calculator, and the community together to explore shared
自己编写的一个小计算器,和大家一起共享探讨-I have written a small calculator, and the community together to explore shared
- 2022-08-11 19:44:18下载
- 积分:1
-
normal random number generator
c#正态分布的随机数发生器-normal random number generator
- 2022-01-26 01:33:55下载
- 积分:1
-
Use IIR method to design the digit filter,realized by C language,and mapping is...
数字滤波器IIR设计C源代码,包括绘图.-Use IIR method to design the digit filter,realized by C language,and mapping is also included.
- 2022-02-16 04:46:16下载
- 积分:1