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

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

于 2022-03-10 发布 文件大小:1.64 kB
0 199
下载积分: 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 个回复

  • some commonly used recursive algorithm
    一些常用的递归算法 -some commonly used recursive algorithm
    2022-07-19 06:42:01下载
    积分:1
  • 一个java的tabu search框架
    一个java的tabu search算法框架-one of tabu search algorithm framework
    2022-03-25 14:23:27下载
    积分:1
  • ffmpg库的源码
    FFmpeg README ------------- 1) Documentation ---------------- * Read the documentation in the doc/ directory. 2) Licensing ------------ * Read the file COPYING. ffmpeg and the associated libraries EXCEPT   liba52 and libpostproc are licensed under the Lesser GNU General   Public License. * liba52 and libpostproc are distributed under the GNU General Public   License and their compilation and use is optional in ffmpeg. Fabrice Bellard.
    2022-07-03 09:19:29下载
    积分:1
  • 大整数乘,实现两个大整数相乘的C++代码
    大整数乘法,实现两个大整数相乘的C++代码-Large integer multiplication
    2022-03-15 04:06:48下载
    积分:1
  • Western Electric high
    西电内部用的高精度库,原是保密的!!!我奉献了出来-Western Electric high-precision internal library, was kept secret!!! I dedicate out
    2023-08-02 22:55:03下载
    积分:1
  • 非递归解决斐波那契数列问题
    递归的缺点: –递归算法解题相对常用的算法如普通循环等,运行效率较低。因此,应该尽量避免使用递归,除非没有更好的算法或者某种特定情况,递归更为适合的时候。在递归调用的过程当中系统为每一层的返回点、局部量等开辟了栈来存储。递归次数过多容易造成栈溢出等 –执行时间长、占用空间多 –主要原因:递归调用时的现场保护与恢复(相对于迭代过程而言) 一个反复执行过程,可否用循环结构实现? 递归调用时,返回点怎么记录? 递归返回时,如何接着以前的断点继续执行? 返回值如何处理:若当前是较深一层的递归调用,如何将返回值返回到上一层递归过程的引用位置上? 系统栈:保护现场、保存返回值、返回地址
    2023-01-28 00:35:03下载
    积分:1
  • 改进后的bp 实现.\并给出一些实例子进行模拟用vc实现...
    改进后的bp 算法实现.\并给出一些实例子进行模拟算法用vc实现-bp improve the algorithm. And gives some examples for simulation algorithm to achieve vc
    2022-05-14 08:27:10下载
    积分:1
  • 使用插入排序和快速排序方排序数组
    程序生成一个数组,然后对它使用插入排序和快速排序方法进行排序。在屏幕上的输出显示了这两种方法来对数组排序,所花的时间。在编译后的程序以及创建输出文件,在 project 的文件夹命名为的 Array.txt,你可以在这里看到如何生成的矩阵的样子,怎么它被排序,也多少时间就能对它进行排序。
    2022-05-20 03:32:59下载
    积分:1
  • SHOOTING METHOD SOLUTION
    SHOOTING METHOD SOLUTION
    2022-09-15 21:15:03下载
    积分:1
  • 一种主动学习,委员会查询,但这是一个改进的版本,通过核变化可以更高效的处理多维数据...
    一种主动学习算法,委员会查询算法,但这是一个改进的版本,通过核变化可以更高效的处理多维数据-An active learning algorithm, the Committee inquiry algorithm, but this is an improved version of the changes through the nuclear deal can be more efficient multi-dimensional data
    2022-05-21 11:00:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载