搜索资源列表
circlecutting
- 集装箱的装箱问题 给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得集装箱的空间利用率最高? 本程序要求用贪心算法解决: 贪心算法总是作出在当前看来是最好的选择。也就是说,不从整体最优上加以考虑,它所做出的仅是在某种意义上的局部最优解。 -problem given a container, its long-L, width W and H for high, the existing bat
MTDmag
- 可变式分区分配思想建立存储分块表MBT,使用首次适应法为新作业寻找可用空间。 输入内存空间大小、MBT表长度,显示初始MBT表的状态,以后每分配一次空间或释放一次空间都要显示当前的MBT表。当选择“分配空间”操作,则需要输入新作业所需的空间;当选择“释放空间”操作,则需要输入想要释放的作业号。-variable thinking of establishing regional distribution storage block table MBT, use the first metho
henclib263
- 客户机/服务器系统比文件服务器系统能提供更高的性能,因为客户端和服务器端将应用的处理要求分开,同时又共同实现其处理要求,对客户端程序的请求实现“分布式应用处理”。服务器为多个客户端应用程序管理数据,而客户端程序发送、请求和分析从服务器接收的数据,这是一种“胖客户机 (Fat Client)”,“瘦服务器 (Thin Server)”的网络计算模式。服务器处理服务要求的过程实际是,先获取传送来的头信息,然后根据头信息新建文件,然后继续接受数据写入文件,当接受完数据后关闭文件。-client / s
Binary_balance_sorttree
- 7、二叉平衡排序树 问题描述:创建二叉平衡排序树 基本要求: 1、 输入数据的数量不得低于15个 2、 建立二叉平衡排序树(要求包括LL型LR型RR型RL型四种调整方式) 3、 完成任意数据的查找(要求给出查找执行的次数) -7, binary sort tree balanced descr iption of the problem: Create a balanced binary tree sort of basic requirements: 1, the nu
3
- 函数重载应用,要求:1.定义函数1.圆(输入半径)、2.长方形(输入长与宽)、3.正方形(输入边长)、4.扇形的面积(输入圆心角与半径); ② 给用户提示1.圆、2.长方形、3.正方形、4.扇形的面积、0.退出; ③ 根据用户选择提示输入的函数参数; ④ 计算图形面积,并显示。-Function overloading application requirements: 1. Defined function 1. Circle (input radius),
yanghuisanjiao
- 编写一个程序,能够根据用户要求输出相应阶次的杨辉三角。 -The preparation of a procedure in accordance with user requirements be able to output the corresponding order of the Yang Hui triangle.
123
- 1、用成员函数重载运算符,使对整型的运算符=、+、-、*、/ 适用于分数运算。要求: (1)输出结果是最简分数(可以是带分数); (2)分母为1,只输出分子。-1, with member functions operator overloading, so that the operator on the integer =,+,-,*,/ apply to scores of computing. Requirements: (1) output is the most simple
linked
- 链表的顺序存储结构,算法与数据结构的第一个实验,符合实验要求,程序中有注释-List the order of the storage structure, algorithm and data structure of the first experiment, in line with the experimental requirements, procedures in the Notes
SeqList
- 顺序表的基本操作,也是算法的实验,符合实验的基本要求,有详细注释-The basic operation of the order form as well as the experimental method, in line with the basic requirements of the experiment, detailed notes
ma-de-bian-li
- 数据结构课程设计——马的遍历:在中国象棋棋盘上,对任一位置上放置的一个马,均能选择一个合适的路线,使得该棋子能按象棋的规则不重复地走过棋盘上的每一位置。 要求: (1)依次输出所走过的各位置的坐标。 (2)最好能画出棋盘的图形形式,并在其上动态地标注行走过程。 (3)程序能方便地地移植到其它规格的棋盘上。 -Data Structure Course Design- Horse traversal: the board in the Chinese chess on t
shuizhunwang_pingcha
- 本款程序为Visual Studio2008下的C++编写,功能为实现水准网平差。通过已知高程点,各水准路线的观测高差、距离及已知点高程求9个待定高程点高程平差值;以及平差后精度最弱的点及其高程平差值中误差。 -Procedures for Visual Studio2008 this subsection C++ under the written standards for the realization of network adjustment function. By a know
complier
- 用C写的C编译器,实现了C中的大部分语法要求,可以翻译成为基本汇编语言-Written in C with the C compiler to achieve most of the C syntax requirements, basic assembly language can be translated into
EX3_3
- 关于结构体应用的 c++程序,程序要求:从键盘输入5个学生的姓名、3门课的成绩,原数据显示;(2)计算3门课总平均成绩;(3)按总平均成绩的高低依次显示各学生的信息-Application on the structure of the c++ program, the program requirements: 5 students from the keyboard' s name, 3 course results, the original data (2) Calculate
yunsuanfu
- C++中预定义的运算符的操作对象只能是基本数据类型,对于很多用户自定义类型,也需要有类似的运算操作,这就提出了对运算符进行重新定义,赋予已有符号以新功能的要求。-In C++ predefined operator operating the object can only be basic data types, for many user-defined types, operators also need to have a similar operation, which propos
ferry
- 某汽车轮渡口,有n辆车要过河。n辆车只有两种要么是客车,要么是货车。已知过江渡船每次能载10辆车,从0分开始每10分钟来一次(即0分一辆,10分一辆,以此类推)。又知上渡船要遵守下述规定:若x分来了一辆渡船所有到大渡口时间<=x分且还没过河的车辆才可能上船,且客车先于货车上船,每上4辆客车必上1辆货车,这时若没有货车就上客车,若没有客车就上货车。试编写一个程序,模拟渡口的管理,统计客车和货车的平均等待时间。 输入格式: 第一行一个正整数n(1000 <= n <= 10
SPC-exchanges
- 本项目主要完成对局用程控交换机的二进制磁带卸载数据,按照一定的格式要求,转化成标准ASCII码格式并以文本形式输出,然后再经过内存排序后,提供给后续计费模块进行批价处理。-This project is mainly to complete the game using a program-controlled switches, binary tape unload data, in accordance with the requirements of a certain format, c
C-language-get-time
- 这个文件综合了多种在C语言中获取当前系统时间的函数。读者可以根据对时间的具体要求,选择其中的函数。-This file is a combination of a variety of access to the function of the current system time in C language. Readers according to the specific requirements of the time, choose the function.
data-structure-linear-list
- a.输入一组整型元素序列,建立线性表。 b.实现该线性表的遍历。 c.在该线性表中查找某一元素,查找成功显示查找元素,否则显示查找失败。 d.在该线性表中删除或插入指定元素。 实验要求:分别采用线性表的两种存储结构(顺序存储结构、链式存储结构)来实现以上基本操作。 -a. Enter an integer sequence of elements, and to establish a linear table. b. Traversal of the linear tabl
saoleibeta
- 扫雷小游戏 要求: 用VS2010控制台程序完成,键盘输入要点开的格子和要排的雷的格子。 拥有普通游戏的控制流程:开始游戏、重新开始、退出游戏、死亡成功后的提示及操作等;拥有游戏最基本的一些文字提示,拥有基本的一些错误判断。 要求整个工程全部用C++代码完成,不允许出现C风格代码(如用string代替char*、用容器代替数组、类等)。-Minesweeping game requirements: VS2010 console program completed, keyboa
train
- 模拟火车订票系统,实现车票的插入,查找,订票等一系列功能和要求。-Analog train ticketing system, tickets insert, search, booking a series of functions and requirements.
