虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

Multiple-Input

  • Problem F:汽车加油 Time Limit:1000MS Memory Limit:65536K Total Submit:1400 Accepted:404 Language

    Problem F:汽车加油 Time Limit:1000MS Memory Limit:65536K Total Submit:1400 Accepted:404 Language: not limited Description 一辆汽车加满油后可行驶n公里。旅途中有若干个加油站。设计一个有效算法,指出应在哪些加油站停靠加油,使沿途加油次数最少。 编程任务: 对于给定的n和k(k <= 10000)个加油站位置,编程计算最少加油次数。 Input 第一行有2 个正整数n和k,表示汽车加满油后可行驶n公里,且旅途中有k个加油站。接下来的1 行中,有k+1 个整数,表示第k个加油站与第 k-1 个加油站之间的距离。第0 个加油站表示出发地,汽车已加满油。第k+1 个加油站表示目的地。 Output 输出最少加油次数。如果无法到达目的地,则输出”No Solution”。 Sample Input 7 7 1 2 3 4 5 1 6 6 Sample Output 4

    标签: Limit Accepted Language Problem

    上传时间: 2016-04-12

    上传用户:youth25

  • In this letter, the error performance of an ultra-wideband (UWB) system with a hybrid pulse amplitud

    In this letter, the error performance of an ultra-wideband (UWB) system with a hybrid pulse amplitude and position modulation (PAPM) scheme over indoor lognormal fading channels is analyzed. In the PAPM UWB system, input data is modulated onto both the pulse amplitudes and pulse positions.

    标签: ultra-wideband performance amplitud letter

    上传时间: 2014-01-08

    上传用户:yulg

  • 北京大学ACM题 Here is a geometric problem. You have an angle and some squares in the first quadrant of

    北京大学ACM题 Here is a geometric problem. You have an angle and some squares in the first quadrant of the plane rectangular coordinates. The vertex of the angle is fixed on the origin O of the coordinates, and both of its radial lines are specified by the input. The sizes of the squares are also specified by the input, and the squares can shift vertically and horizontally. Now your job is to use the squares and the radial lines of the angle to enclose the maximum area, which excludes the area of the squares (see Figure 1). You should note that the edges of the squares must be parallel to the axes.

    标签: geometric quadrant problem squares

    上传时间: 2013-12-25

    上传用户:ynzfm

  • PlotSphereIntensity(azimuth, elevation) PlotSphereIntensity(azimuth, elevation, intensity) h = Plo

    PlotSphereIntensity(azimuth, elevation) PlotSphereIntensity(azimuth, elevation, intensity) h = PlotSphereIntensity(...) Plots the intensity (as color) of a number of points on a unit sphere. Input: azimuth (phi), in degrees elevation (theta), in degrees intensity (optional, if not provided, a green sphere is produced) All inputs must be vectors or matrices of the same size. Data does not have to be evenly spaced. When there aren t enough points to draw a smooth sphere, additional points (with color) are interpolated. Output: h - a handle to the patch object The axes are also plotted: positive x axis is red positive y axis is green positive z axis is blue

    标签: PlotSphereIntensity elevation azimuth intensity

    上传时间: 2014-01-15

    上传用户:ruan2570406

  • The neuro-fuzzy software for identification and data analysis has been implemented in the MATLAB lan

    The neuro-fuzzy software for identification and data analysis has been implemented in the MATLAB language ver. 4.2. The software trains a fuzzy architecture, inspired to Takagi-Sugeno approach, on the basis of a training set of N (single) output-(multi) input samples. The returned model has the form 1) if input1 is A11 and input 2 is A12 then output =f1(input1,input2) 2) if input1 is A21 and input 2 is A22 then output =f2(input1,input2) 看不懂,据高手说,非常有用。

    标签: identification neuro-fuzzy implemented analysis

    上传时间: 2014-01-12

    上传用户:zgu489

  • an application that finds the smallest of several integers. Assume that the first value read specif

    an application that finds the smallest of several integers. Assume that the first value read specifies the number of values to input from the user

    标签: that application the smallest

    上传时间: 2016-05-05

    上传用户:yiwen213

  • vhdl编写

    vhdl编写,8b—10b 编解码器设计 Encoder: 8b/10b Encoder (file: 8b10b_enc.vhd) Synchronous clocked inputs (latched on each clock rising edge) 8-bit parallel unencoded data input KI input selects data or control encoding Asynchronous active high reset initializes all logic Encoded data output 10-bit parallel encoded output valid 1 clock later Decoder: 8b/10b Decoder (file: 8b10b_dec.vhd) Synchronous clocked inputs (latched on each clock rising edge) 10-bit parallel encoded data input Asynchronous active high reset initializes all logic Decoded data, disparity and KO outputs 8-bit parallel unencoded output valid 1 clock later

    标签: vhdl 编写

    上传时间: 2016-05-05

    上传用户:gundamwzc

  • v1.3.0 更新内容: + [调整] 安装文件的人性化!HOT! + [调整] 模板全面调整!HOT! + [修复] 发帖 editblog.php 的时间部分做了调整

    v1.3.0 更新内容: + [调整] 安装文件的人性化!HOT! + [调整] 模板全面调整!HOT! + [修复] 发帖 editblog.php 的时间部分做了调整,增加了日历直接选定。 + [修复] 通过ID直接查找文章的 input框 原本回车进入空白页面,现解决 + [修复] 评论管理功能 + [修复] RSS2.0的修复

    标签: HOT editblog php 更新

    上传时间: 2016-05-09

    上传用户:风之骄子

  • This example demonstrates the use of the ADC block and PWM blocks. The generated DSP code produces t

    This example demonstrates the use of the ADC block and PWM blocks. The generated DSP code produces the pulse waveform whose duty cycle is changing as the voltage applied to ADC input changes. The waveform period is kept constant.

    标签: demonstrates the generated produces

    上传时间: 2016-05-17

    上传用户:sjyy1001

  • 算法实现题1-2 连续和问题 « 问题描述: 给定一个正整数n

    算法实现题1-2 连续和问题 « 问题描述: 给定一个正整数n,计算有多少个不同的连续自然数段,其和恰为n。例如,当n=27 时,有4 个不同的连续自然数段的和恰为27:2+3+4+5+6+7;8+9+10;13+14;27。 « 编程任务: 给定一个正整数n,试设计一个O(n)时间算法,计算有多少个不同的连续自然数段的 和恰为n。 « 数据输入: 由文件input.txt提供输入数据。文件的第1 行是正整数n。 « 结果输出: 程序运行结束时,将计算出的和恰为n的连续自然数段的个数输出到output.txt中。 输入文件示例 输出文件示例 input.txt 27 output.txt 4

    标签: laquo 算法 整数

    上传时间: 2016-05-28

    上传用户:yulg