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

INPUT

一个简单的HTML表单,包含两个文本输入框和一个提交按钮:
  • 小型的Lex编译器

    小型的Lex编译器,能从INPUT.txt识别简单的C++语句,并将分析结果存于output.txt中

    标签: Lex 编译器

    上传时间: 2014-01-12

    上传用户:qq21508895

  • 编译原理的一个语法分析程序

    编译原理的一个语法分析程序,设计,编制并调试一个语法分析程序,加深对语法分析原理的理解。可以编译c语言的基本结构,包括循环嵌套和条件嵌套。(1) 执行程序时,可输入源程序的路径,如果输入为空的话,将会编译默认的源程序“./INPUT.dat” (2) 如果编译发现有错误,则会输出错误行数,并在结束编译时输出“Complete!”

    标签: 编译原理 程序

    上传时间: 2016-04-11

    上传用户:许小华

  • Problem D:合唱队形 Time Limit:1000MS Memory Limit:65536K Total Submit:1237 Accepted:437 Language

    Problem D:合唱队形 Time Limit:1000MS Memory Limit:65536K Total Submit:1237 Accepted:437 Language: not limited Description N位同学站成一排,音乐老师要请其中的(N-K)位同学出列,使得剩下的K位同学排成合唱队形。 合唱队形是指这样的一种队形:设K位同学从左到右依次编号为1,2…,K,他们的身高分别为T1,T2,…,TK, 则他们的身高满足T1 < T2 < ...< Ti > Ti+1 > … >TK(1<=i<=K)。 你的任务是,已知所有N位同学的身高,计算最少需要几位同学出列,可以使得剩下的同学排成合唱队形。 INPUT 输入包含若干个测试用例。 对于每个测试用例,输入第一行是一个整数N(2<=N<=100),表示同学的总数。第二行有N个整数,用空格分隔,第i个整数Ti(130<=Ti<=230)是第i位同学的身高(厘米)。当输入同学总数N为0时表示输入结束。 Output 对于每个测试案例,输出包括一行,这一行只包含一个整数,就是最少需要几位同学出列。 Sample INPUT 8 186 186 150 200 160 130 197 220 3 150 130 140 0 Sample Output 4 1

    标签: Limit Accepted Language Problem

    上传时间: 2014-01-13

    上传用户:aappkkee

  • 对于符号三角形问题

    对于符号三角形问题,符号三角形的第一行有n个符号。符号可以为“+”或“-”,以下每一行的符号由上行得到,2个同号下面都是“+”,2个异号下面都是“-”。如下图所示(第一行有4个符号的符号三角中的其中的一个): 符号三角形问题要求对于给定的n,计算有多少个不同的符号三角形,使其所含的“+”和“-”的个数相同。 INPUT 输入包含若干个测试用例。 对于每个测试用例,输入的一行是一个整数n(2<=n<=20),表示符号三角形第一行符号的个数。当输入n为0时表示输入结束。 Output 对于每个测试案例,输出包括一行,这一行只包含一个整数,就是该测试案例总共有多少不同的符号三角形,使其所含的“+”和“-”的个数相同。 Sample INPUT 2 3 0 Sample Output 0 4

    标签: 符号 三角形

    上传时间: 2014-01-02

    上传用户:阳光少年2016

  • 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