代码搜索:预置数
找到约 10,000 项符合「预置数」的源代码
代码结果 10,000
www.eeworm.com/read/486811/6530195
cpp ga标准遗传算法(c++程序)详细附注啊.cpp
//copyright by zhangpeng ,May 5,2007
#include
#include
#include
#include
//-------------------------------------------
//产生(0,1)均匀分布的随机数
double rand
www.eeworm.com/read/486018/6541548
c xinxi.c
#include "bianliang.h"
#define N 10 //飞机数
// // // // // // // // // // 输入航班信息 // // // // // // // // // //
void input(emploe em1[10], int k)
{
FILE *f;
int i = 0,j=0,a=0; //a记录航班数量
c
www.eeworm.com/read/485710/6556746
h useh1.h
#ifndef __USEH1_H__
#define __USEH1_H__
#define HIGH 1
#define LOW 0
#define FALSE 0
#define TRUE 1
#define uchar unsigned char
#define uint unsigned int
//二进制数---------------------------
www.eeworm.com/read/480611/6666947
cpp 6.5.cpp
/*把100~200之间的不能被3整除的数输出*/
#include
int main()
{
int n;
for(n=100;n
www.eeworm.com/read/478537/6709200
cpp 1.cpp
#include
#include
#include
using namespace std;
int n;
class PCB
{
public:
int pri;//进程优先数
int runtime;//进程运行CPU时间
int pieceOftime;//轮转时间片
string procname;//进程
www.eeworm.com/read/478650/6712540
m ex0219.m
%用函数得出矩阵的大小
a=[1 2;3 4;5 6]
ndims(a) %得出维数
size(a) %得出各维的大小
size(a,2) %得出列的大小
length(a) %得出最大维的大小
www.eeworm.com/read/478689/6713136
cpp pso.cpp
#include
#include
#include
#include
//随即数定义
#define rdint(i) (rand()%(int)(i))
#define rdft() (double)rdint(16384)/(16383.0)
#define rnd(a,b) (doubl
www.eeworm.com/read/401659/11552263
c 1.c
#include "stdio.h"
#include "stdlib.h"
#include "string.h"
typedef struct node /*创建PCB*/
{ char name[10]; /*进程标识*/
int prio; /*进程优先数*/
int cputime; /*进程占用CPU时间*/
int needtime
www.eeworm.com/read/400568/11573745
java switchexample.java
//SwitchExample.java
import java.util.Random;
public class SwitchExample{
public static void main(String[]args){
Random random=new Random(); //声明随机数类对象并实例化
float x = random.nextFlo