-
Description of the problem: Given n
问题描述:
给定n个石子,其重量分别a1,a2,a3...an,要求将其划分成m份,每一份的划分费 义为这份石了中最大重量与最小重量的差的平方。总划分费用等丁m份划分费用之和。
编程任务
对于给定的n个石子,求一种划分方案,使得总划分费用最小。-Description of the problem: Given n-stones, its weight, respectively a1, a2, a3 ... an, asked that it be divided into m copies, each of the division of costs defined as the weight of the stone of the largest and the smallest weight difference the square. Small m the total costs were divided into the sum of the cost. Programming tasks for a given n-stones, seek a kind of division, making the total cost of the smallest division.
- 2022-04-30 14:06:05下载
- 积分:1
-
unix上的ODBC实现
unix上的ODBC实现-unix on ODBC to achieve
- 2022-01-27 13:30:47下载
- 积分:1
-
"data structure" and parsing algorithm
《数据结构》算法实现与解析-"data structure" and parsing algorithm
- 2022-01-22 01:02:48下载
- 积分:1
-
数据结构基础学习程序,在TURBO C++集成环境中使用,特别适合数据结构初学者参考使用...
数据结构基础学习程序,在TURBO C++集成环境中使用,特别适合数据结构初学者参考使用-Data structure based on the learning process, in the TURBO C++ Integrated environment, in particular data structure suitable for use and reference for beginners
- 2022-03-13 21:38:26下载
- 积分:1
-
请假管理系统
这个
- 2022-04-19 04:27:17下载
- 积分:1
-
用struts hibernate 开发的论坛源码!
开发平台:eclipese 3.1.2
web服务器: tomcat 5
数据库: mysql...
用struts hibernate 开发的论坛源码!
开发平台:eclipese 3.1.2
web服务器: tomcat 5
数据库: mysql5.0
-Developed using struts hibernate forum source! Development platform: eclipese 3.1.2 web server: tomcat 5 Database: mysql5.0
- 2023-06-16 16:40:07下载
- 积分:1
-
sqlite是一种嵌入式数据库。本文件包含了操作此数据库的一个类。该类实现了sqlite的所有操作,并具有良好的注释说明。...
sqlite是一种嵌入式数据库。本文件包含了操作此数据库的一个类。该类实现了sqlite的所有操作,并具有良好的注释说明。-sqlite is an embedded database. This document contains the operation of this database, a class. Sqlite class implements all the operations, and has a good explanatory notes.
- 2022-03-19 00:27:37下载
- 积分:1
-
数据结构
数据结构-次索引的建立-data structure-building meeting Index
- 2022-03-24 06:36:04下载
- 积分:1
-
编写一个程序,学生统计信息的结果(存储…
编写一程序,统计学生的成绩信息(保存在文件Score.dat中)。
要求:
1. 能按总分,数学成绩,英语成绩,计算机成绩分别排序
2. 能分别统计数学,英语,计算机中不及格人数
3. 能按学号查找学生,并显示该学生信息。
注
1. 从文件中读入数据以及功能菜单显示已在文件ReadData.c 和Menu.c中给出;
2. 代码的总体结构已在文件Score.c中给出,并定义了一些函数头,但有关函数体代码和一些主程序处理代码要求学生填写,也可以修改函数头;
编译score.c即可
-prepared a procedure, the results of the students statistical information (stored in the document Score.dat). Requirements : 1. According to score, the math and English results, the computer results were 2 ranking. Statistics were able to mathematics, English, Computer failure number three. can search by school, students, and that the student information. Note 1. Read from the file into the data and functions of the menu showed the documentary and Menu.c ReadData.c given; 2. The overall code structure has been the Score.c given, and the definition of some of the first function, However, the body function code and address some main program code requiring students to complete, can also modify function first; compiler can s
- 2022-08-20 01:05:35下载
- 积分:1
-
数据结构中线性表的应用,约瑟夫环算法。便于数据结构的学习。...
数据结构中线性表的应用,约瑟夫环算法。便于数据结构的学习。-Linear data structure in the application form, Joseph Ring algorithm. Data structure to facilitate learning
- 2022-12-02 00:45:03下载
- 积分:1