登录
首页 » C# »

于 2022-09-28 发布 文件大小:63.55 kB
0 132
下载积分: 2 下载次数: 1

代码说明:

4-11 最优服务次序问« 问题描述:设有n 个顾客同时等待个顾客的服务次序才能使平总和除以n。« 编程任务:对于给定的n个顾客需要的服务时间,编程计算最优服务次序。« 数据输入:由文件input.txt给出输入数据。第一行是正整数n,表示有n 个顾客。接下来的1 行中,有n个正整数,表示n个顾客需要的服务时间。« 结果输出:将编程计算出的最小平均等待时间输出到文件output.txt。输入文件示例 输出文件示例input.txt output.txt1056 12 1 99 1000 234 33 55 99 812532.-4-11 optimal order asked laquo services; Problem description : n with customers while waiting for customer service so that the order can be divided by the sum of n-ping. Laquo; Programming tasks : to the n needs of its customers time and programming services for calculating optimal order. Laquo; Data input : from the document input.txt given input data. The first line is a positive integer n, n said a customer. Following a visit, n is an integer, n said the needs of the customer service hours. Laquo; Results output : Programming will calculate the average waiting time for the smallest output to a file output.txt. Examples of input document output files example input.txt output.txt1056 12 1 99 1000 23

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

发表评论

0 个回复

  • matlab微网下垂控制仿真
    下垂控制matlab微网下垂控制仿真
    2023-04-01 18:10:03下载
    积分:1
  • rate_matching
    LTE中的速率匹配部分,在turbo编码后使用。已经分好模块,包括子块交织以及比特收集和修剪等部分。(Rate matching section in the LTE turbo coding. Has been divided into many modules, including the part of the sub-block interleaving and bit collection and pruning.)
    2012-07-02 19:56:27下载
    积分:1
  • migration(FKaPS)
    F-K域偏移法和相移法偏移程序(C语言)(FK domain migration method and the phase- shift method migration program (C language))
    2021-04-06 20:59:02下载
    积分:1
  • 计算流体力学程序代码
    说明:  主要针对计算流体力学中的基础问题进行C++和Fortran编程并对比(The basic problems in computational fluid dynamics are programmed by C++ and Fortran and compared.)
    2020-12-23 13:59:06下载
    积分:1
  • PE Cyclonepro 类
    c++控制PE Cyclonepro 类,PE Cyclonepro是用来对freescale MCU进行编程,通过上位机控制
    2022-01-30 21:47:18下载
    积分:1
  • LCD1602
    这是一个LCD1602底层驱动代码,TI公司LM3S系列的(This is a LCD1602 underlying driver code, TI company LM3S series)
    2013-10-30 16:40:45下载
    积分:1
  • mfc-ado-sql
    这是我在公司做的数据库外挂报表 对大家的学习很有帮助(This is what I do in the company' s database plug-in for everyone' s very helpful report)
    2011-11-12 19:00:11下载
    积分:1
  • VncServer源码
    说明:  C#开发的VNC源码,非标准VNC协议。需要配合对应的客户端应用(C# VNC,Remoting Server)
    2020-06-28 00:22:55下载
    积分:1
  • 11
    Matlab教程第11章,编成与案例教学(Matlab Guide Chapter 11, compiled and Case Teaching)
    2013-07-20 19:57:58下载
    积分:1
  • ZLLK
    一个简单的连连看游戏提供给大家,希望能给新手一些帮助(A simple Snake game available to everyone, I hope to give some help novice)
    2013-12-18 21:05:29下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载