登录
首页 » 算法 » 没有界面,用C写的小程序 问题如下:一家软件公司招聘了数十位程序员,分成若干部门。 进行一次考试,对各个部门的所有程序员进行考核。考试结束后评出了每个人的分数。...

没有界面,用C写的小程序 问题如下:一家软件公司招聘了数十位程序员,分成若干部门。 进行一次考试,对各个部门的所有程序员进行考核。考试结束后评出了每个人的分数。...

于 2022-03-10 发布 文件大小:1.64 kB
0 180
下载积分: 2 下载次数: 1

代码说明:

没有界面,用C写的小程序 问题如下:一家软件公司招聘了数十位程序员,分成若干部门。 进行一次考试,对各个部门的所有程序员进行考核。考试结束后评出了每个人的分数。现在需要知道,在每个部门内,成绩最好的程序员和成绩最差的程序员分别是谁。输入有N+1行,每一个有若干正整数。第一行只有一个正整数,代表公司的部门数目。剩余的N行,每一行代表了该部门所有程序员的得分。其中每行第一个数字k代表了该部门的程序员个数,该行剩下的有k对数据,每对数据包括一个程序员的姓名(一个字符串)和其得分(一个正整数)。【输出形式】输出有N行,每行有两个串。第一个串该部门得分最高的程序员的姓名,第二个数字是得分最低的程序员的姓名。-no interface, written in C minor procedural issues are as follows : a software company recruited dozens of programmers, divided into several departments. An examination of the various departments for testing all programmers. Examinations in 1886 after the end of each grade. Now need to know, in every sector, but the best programmers and the worst programmers who were. N input is a line, each one a number of positive integers. There is only a first positive integer representing the number of departments. The remaining N firms, each firm on behalf of all the sector"s programmers to the basket. Each Bank figures k a representative of the number of programmers, the bank left the k right d

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 离散数学经典的
    离散数学经典的算法-Discrete Mathematics classical algorithm
    2022-02-03 05:21:43下载
    积分:1
  • 诚信实现单一
    完整实现了单源最短路径的算法。 采用的是贪心算法思想。-integrity to achieve a single-source shortest path algorithm. The greedy algorithm.
    2022-11-18 00:00:04下载
    积分:1
  • 07高教杯数学建模b题之北京公交车查询系统
    07高教杯数学建模b题之北京公交车查询系统-07 Higher Education Cup title b Mathematical Modeling of Beijing Bus Inquiry System
    2023-05-11 05:40:04下载
    积分:1
  • procedures for the three mixed vector plot calculated using Matlab to achieve
    本程序提供三矢量混合积的计算,采用matlab实现-procedures for the three mixed vector plot calculated using Matlab to achieve
    2022-10-23 12:45:03下载
    积分:1
  • 0 / 1背包问题是一个N P
    0 / 1背包问题是一个N P-复杂问题,为了解决该问题,,将用回溯算法解决该问题。既然想选择一个对象的子集,将它们装入背包,以便获得的收益最大,则解空间应组织成子集树的形状(如图1 6 - 2所示)。该回溯算法与4 . 2节的装载问题很类似。首先形成一个递归算法,去找到可获得的最大收益。然后,对该算法加以改进,形成代码。改进后的代码可找到获得最大收益时包含在背包中的对象的集合。-0/1 knapsack problem is a P-complex issues, in order to solve the problem, and will be used backtracking algorithm to solve the problem. As to the choice of a subset of object, they will load a backpack, in order to obtain the greatest profits, the solution should be organized into space subset of the shape of the tree (Figure 1 6-2 below). The backtracking algorithms and 4. Two loading problem is very similar. Forming a recursive algorithm to get the maximum benefit available. Then, this algorithm is modified to form code. Improved code can be found at the maximum benefits included in the backpack of a collection of objects.
    2022-02-26 09:06:08下载
    积分:1
  • 数字验证码的识别
    本算法采用C#语言编写,实现了对数字级别的验证码进行识别。首先利用Denoising()函数对图片进行预处理,去除杂质,利用to_str()函数对图片进行分割并转换为字符串,利用shibie_single()对每个字符串进行识别,最红将每个识别结果拼接得到最终结果。
    2022-02-15 21:00:47下载
    积分:1
  • 数值计的程序
    数值计算的程序-numerical calculation procedures
    2022-07-28 07:27:39下载
    积分:1
  • 数字滤波器的C语言实现
    利用C语言实现了通信中经常用到的几种滤波器:低通滤波器,高通滤波器,带通滤波器。可以在vc上实现对信号的滤波,而且还可以移植到各种嵌入式板子上,实现滤波功能!
    2022-03-05 08:55:20下载
    积分:1
  • 伪随机数生成,很优秀,32位int
    伪随机数生成算法,很优秀,32位int-pseudo-random number generation algorithms, excellent, 32 int
    2022-07-15 01:57:02下载
    积分:1
  • 验证登录
    验证登录
    2022-03-20 05:34:33下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载