代码搜索结果

找到约 10,000 项符合 3 的代码

5-3-3.m

%竞争层的输出 Jingzheng=rands(20)'; %正向权值W和反向权值T W=rands(20,5); T=rands(20,5); %警戒参数 threshold=0.8; %两组模式A1和A2 A1=[1 1 0 0 0]; A2=[1 0 0 0 1]; %初始化 for i=1:20 for j=1:5 W(i,j)=1/6;

main3-3.cpp

// main3-3.cpp 循环队列 检验bo3-3.cpp的主程序 #include"c1.h" typedef int QElemType; #include"c3-3.h" #include"bo3-3.cpp" void visit(QElemType i) { printf("%d ",i); } void main() {

algo3-3.cpp

// algo3-3.cpp 括号匹配的检验,(限于()、[]) typedef char SElemType; #include"c1.h" #include"c3-1.h" #include"bo3-1.cpp" void check() { // 对于输入的任意一个字符串,检验括号是否配对 SqStack s; SElemType ch[80],

c3-3.h

// c3-3.h 队列的顺序存储结构(可用于循环队列和非循环队列) #define MAXQSIZE 5 // 最大队列长度(对于循环队列,最大队列长度要减1) struct SqQueue { QElemType *base; // 初始化的动态分配存储空间 int front; // 头指针,若队列不空,指向队列头元素 int rear; // 尾指针,

bo3-3.cpp

// bo3-3.cpp 循环队列(存储结构由c3-3.h定义)的基本操作(9个) Status InitQueue(SqQueue &Q) { // 构造一个空队列Q Q.base=(QElemType *)malloc(MAXQSIZE*sizeof(QElemType)); if(!Q.base) // 存储分配失败 exit(OVERFLOW);

ex3(3).java

// containers/Ex3.java // TIJ4 Chapter Containers, Exercise 3, page 809 /* Using Countries, fill a Set multiple times with the same data * and verify that the Set ends up with only one of each ins

algo3-3.plg

Build Log --------------------Configuration: algo3-3 - Win32 Debug-------------------- Command Lines Creating temporary file "C:\DOCUME~1\new\L

algo3-3.dsw

Microsoft Developer Studio Workspace File, Format Version 6.00 # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! ###############################################################################

algo3-3.c

/* algo3-3.c 括号匹配的检验,(限于()、[]) */ typedef char SElemType; #include"c1.h" #include"c3-1.h" #include"bo3-1.c" void check() { /* 对于输入的任意一个字符串,检验括号是否配对 */ SqStack s; SElemType ch[80