搜索资源列表
贪婪法解最短回路问题
- 一个用变形贪婪法解货郎回路的C程序代码 思想 1.选择一条最短的边作为部分解。 2.选择一条最短的且将之加入到部分解不形成回路的边。 3.重复第2步,直至所有的结点都包含在部分解中。-deformation with a greedy method for the Traveling Salesman circuit C code ideological one. Choose a minimum as part of the solution side. 2. Choose one of th
rdvv.rar
- hex code for controlling a TSA5511 phase locked loop chip using a PIC16F84 Also drives a standard 16x1 LCD display. function 16F84(A) L.C.D. notes 0V 5 1, 5 +5 volt 4, 14 2, 3 Display enable 2 6 SCL 17 needs 10k pullup to +
while
- 否符合while语句的文法,或者能不能通过文法的开始符号推导出该语句。 (2) 该程序应该包括词法分析器,能对输入的语句进行词法分析,然后再对输出结果。词法分析器应能识别关键字,标示符,常量,操作符等。 (3) 该程序的语法分析器能对输入的语法进行分析,判断输入语句能否满足while循环语句的文法。通过简单优先的方法对语句进行分析,看能否能归约到文法的开始符号。 (4) 该程序的语义分析器就是对分析结果进行输出,要求输出结果是三地址形式的。-Compliance with the s
masm32
- MASM has a number of built in operators that allow a programmer to use C style evaluation and loop code when writing high level Windows code that interfaces with the operating system. More often than not, low level algorithms do not use any of t
classical_c_100_examples
- 包括100个经典的C程序代码,通过100个编程例子,将C语言中常用的输入输出,条件语句,循环语句,指针,结构体,等几块融会贯通,是学习C的基础资料,帮助大家更上一层楼。-Including 100 classic C program code, through the 100 programming examples will be used in C language input and output, conditional statements, loop, pointer, struct
queen8
- 汇编程序实现: 程序功能:用深度优先搜索法解决八皇后问题并打印结果. 列数行数分别用1-8标记.所以八皇后的位置申请了9个 调试感慨:汇编调试实在麻烦,不像C中在任何地方加个printf就可以知道 哪错了.跳来跳去的,不知哪里死循环了,实在不好调试. -Assembler to achieve: program features: Using depth-first search method to solve the eight queens prob
random
- 用C语言编写一段0-9的随机整数用循环,每次产生1个0-9的随机数赋值给一个数组-Written in C language for a period of 0-9 random integer loop, each produce a 0-9 random number assigned to an array
4.8k_CELP
- 语音CELP压缩解压源代码(C语音)- Pronunciation CELP compression decompression source code (C pronunciation) - * 4800 bps CELP Characteristics * * Spectrum Pitch Code Book * ------------- ---------------
arraywithloopbyislao
- C# Simple code for array loop.
AIT-500-Lab-3-Document
- 1) Write a C++ program that receives a single letter and prints out the corresponding digit on the telephone. The letters and digits on a telephone are grouped this way: (30 points) 2= ABC 3 = DEF 4 = GHI 5 = JKL 6 = MNO 7 = PRS 8 = TUV 9 = WXY
for??? ?? ??? ??
- creating a loop for calculate of n given number
exercise 5 BUPT
- C exercise Exercise 5: ‘for’ and ‘do … while” repetition statements 1. Write a program which uses a do/while loop to print out the first 10 powers of 2 other than 0 (ie. it prints out the values of 21, 22, ..., 210). Use a for loop to do the s