代码搜索:预置数
找到约 10,000 项符合「预置数」的源代码
代码结果 10,000
www.eeworm.com/read/385790/8788747
cpp shiyan4.cpp
#include
//#include
//#include
#include
#include
using namespace std;
int const N=1000;
int const m=1000;
//产生N个随机数
void suijishu(int a[],int b
www.eeworm.com/read/284676/8909850
cpp xt3-20-2.cpp
#include
using namespace std;
int main()
{int m,s,i;
for (m=2;m
www.eeworm.com/read/383630/8931029
txt producer-consumer.txt
#include
#define N 10
typedef int semaphore; /* 信号量是一种特殊的整型变量 */
semaphore mutex=1; /* 互斥访问 */
semaphore empty=N; /* 记录缓冲区中空的槽数 */
s
www.eeworm.com/read/185845/8981719
txt 求逆.txt
C程序
/*************************************************************************
* 逆矩阵法求解矩阵方程AX=B,其中A是N*N的矩阵,B是N*N矩阵
* 输入: n----方阵A的行数
* a----矩阵A
* m----矩阵B的列数
* b---
www.eeworm.com/read/283871/8984208
m a2.m
% 定义遗传算法参数
NIND = 40; % 个体数目(Number of individuals)
MAXGEN =100; % 最大遗传代数(Maximum number of generations)
NVAR = 20; % 变量的维数
PRECI = 20; % 变量的二进制位数(Precision of variable
www.eeworm.com/read/382803/8999439
java nqueen2.java
//n后问题 P166 迭代回溯
public class NQueen2 {
static int n; //皇后个数
static int [] x; //当前解
static long sum; //当前已找到的可靠方案数
public static long nQueen(int
www.eeworm.com/read/183983/9127430
asm b.asm
;模块B:
PUBLIC ASC_TO_BIN , BIN_TO_ASCII
DATA SEGMENT COMMON
INPUT_MESSAGE DB 0AH , 'PLEASE INPUT A NUMBER(LESS THAN 5 FIGURES):$'
IN_ASC_BUF DB 6 ;十进制数的输入缓冲
www.eeworm.com/read/182678/9195652
cpp p3-148.cpp
#include
#include
#include
//main()函数的定义
void main( void )
{
double y;
int N;
//输入一个大于等于0的数
do {
coutN;
www.eeworm.com/read/378221/9240715
h rls.h
#define RANK 40 //RLS滤波器的阶数
#define LAMDA 0.995 //遗忘因子
/*定义存储RLS算法历史信息的结构体*/
struct rlshist{
double weight[RANK];
double err;
double buffer[RANK];
double p[RANK][RANK];
};
www.eeworm.com/read/180877/9282080
cpp p3-148.cpp
#include
#include
#include
//main()函数的定义
void main( void )
{
double y;
int N;
//输入一个大于等于0的数
do {
coutN;