代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/439490/7707628
c drawbox.c
/* Bai tap 1_87 - Demo ve hop dung conio */
#include
#include
#include
char doublebox[] ="赏缓燃";
char singlebox[] ="谀砍蕾";
void swap(int *x, int *y)
{
int temp
www.eeworm.com/read/439490/7707776
c banhnay.c
/* Bai tap 2_94 - Minh hoa mot trai banh nay */
#include
#include
#include
#include
/* he so doi tu do sang radian */
#define RADS 0.017453293
#defi
www.eeworm.com/read/439490/7707787
c luumh.c
/* Luu man hinh do hoa vao 1 file */
#include
#include
#include
#include
#include
#include
#include
#include
www.eeworm.com/read/439490/7707820
c troisao.c
#include
#include
#include
#include
#include
#define MAXPOINT 100
#define DELAY 100
struct point {
int x, y, state, color, congtru;
};
www.eeworm.com/read/438832/7725315
sh cannon.sh
#!/bin/bash
# cannon.sh: Approximating PI by firing cannonballs.
# 这事实上是一个"Monte Carlo"蒙特卡洛模拟的非常简单的实例:
#+ 蒙特卡洛模拟是一种由现实事件抽象出来的数学模型,
#+ 由于要使用随机抽样统计来估算数学函数, 所以使用伪随机数来模拟真正的随机数.
# 想象有一个完美的正方形土地, 边长为1000
www.eeworm.com/read/436999/7757157
c h0209.c
#include
#include
#include
int main(void)
{
int i;
time_t t;
srand((unsigned) time(&t));
printf("Ten random numbers from 0 to 99\n\n");
for(i=
www.eeworm.com/read/436812/7762275
makefile
# Makefile for the ACS vehicle routing problem with stochastic demand program
# ---
# Tuesday May 20 2003
#
all: acs debug acsTSP
OBJECTS= Control_acs.o Timer.o Random.o Problem.o Solution.o acs.o
www.eeworm.com/read/436800/7762440
makefile
TARGET = vrpsd.sa-0.de.2 vrpsd.sa-tsp.de.2
CXXFLAGS = -Wall -ansi -O3
OBJS = Problem.o Solution.o orOpt.o orOptTSP.o Timer.o Control.o Random.o farthestInsertion.o fairSAControl.o SAorOpt.o
OBJS2 =
www.eeworm.com/read/435150/7796445
cpp prog20_11.cpp
// Program 20.11 A TruckLoad container implemented using an STL list container
// Recapitulates Program 13.1
#include
#include
#include "TruckLoad.h"
using std::cout;
usin