说明:这个是城市交通灯控制的程序,主要是用单片机来实现-This is a city traffic light control procedures, is mainly used to achieve single-chip microcomputer <asdf> 在 上传
| 大小:172kb | 下载:0
说明:设计一个小的成绩查询系统(*)
任务:有M个学生,学习N门课程,已知所有学生的各科成绩,分别输出每个学生的平均成绩和每门课程的平均成绩。
-Design of a small accomplishments Inquiry System (*) Missions: There are M students, learning N courses, subjects known achievements of all students, respectively, the output o <ping> 在 上传
| 大小:1kb | 下载:0
说明:所谓八皇后问题(Eight Queens Problem),是在8*8格的棋盘上,放置8个皇后。要求每行每列放一个皇后,而且每一条对角线和每一条反对角线上最多只能有一个皇后,这是一个典型并行算法,C语言实现。-The so-called Queen s the issue of eight (Eight Queens Problem), in the 8* 8 grid of the chessboard, 8 Queen s place. Requirements of each line o <chj> 在 上传
| 大小:4kb | 下载:0
说明:0-1背包问题(0-1 Knapsack Problem)的定义为:设集合 代表m件物品,正整数 分别表示第 件物品的价值与重量,那么0-1背包问题KNAP(A,c)定义为,求A的子集,使得重量之和小于背包的容量c,并使得价值和最大。-0-1 knapsack problem (0-1 Knapsack Problem) is defined as: set up a collection on behalf of m items, respectively, the first positiv <chj> 在 上传
| 大小:2kb | 下载:0
说明:经典的一维装箱问题(Bin Packing Problem)是指,给定 件物品的序列 ,物品 的大小 ,要求将这些物品装入单位容量1的箱子 中,使得每个箱子中的物品大小之和不超过1,并使所使用的箱子数目 最小。-Classic one-dimensional bin-packing problem (Bin Packing Problem) means that a given sequence of items, item size, request these items into one <chj> 在 上传
| 大小:3kb | 下载:0
说明:顶点倒塌(Vertex Collapse)算法中,一开始图中的N个顶点看作N个孤立的超顶点(Super Vertex),算法运行中,有边连通的超顶点相继合并,直到形成最后的整个连通分量。每个顶点属于且仅属于一个超顶点,超顶点中标号最小者称为该超顶点的根。-Collapsed vertex (Vertex Collapse) algorithm, one began to map the N vertices as N isolated vertices super (Super Vertex), <chj> 在 上传
| 大小:2kb | 下载:0