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

three-input

  • 很好的搜索: 给你很多长度不定的木棒

    很好的搜索: 给你很多长度不定的木棒,将他们分成几组,每组中的总长度作为这组的标示值,请给出一种分组方法,能使得所有标示值中的最小值最大。 Input 多组,每组两行,第一行是一个N和K,代表有N根木棒,分成K组,第二行是N个数字,代表木棒的长度。(N不超过100,K不超过20,每根木棒长度不超过1000) Output 输出所有标示值中的最小值的最大值。 Sample Input 5 3 1 3 5 7 9 5 3 89 59 68 35 29 Sample Output 8 89

    标签: 搜索 长度

    上传时间: 2013-12-23

    上传用户:nairui21

  • 简单的floyd运用 第一行输入一个整数C。C是测试的情况(0< C <=30).第二行一个正整数N( 0< N <=100),表示道路的总数.紧接N行

    简单的floyd运用 第一行输入一个整数C。C是测试的情况(0< C <=30).第二行一个正整数N( 0< N <=100),表示道路的总数.紧接N行,每一行包含两个字符串, Si,,Ti,和一个整数Di,代表从Si到Ti的距离(0<= Di <=150)。最后一行有两个字符串,S 和 T,你得找出从S 到 T的最短的距离。地名是不超过120个小写字符的串(从‘a’到‘z’)。假设这里最多有100条直接连通两个地方的路。 Output 输出包含C行,每一行对一种测试情况。对每一种测试情况,输出包含一个整数,假如S 到 T存在一条最短的路,输出从S到T的最短距离,否则输出“-1”. Sample Input 2 2 jiuzhouriver liuchi 89 liuchi liyuan 100 liuchi jiuzhouriver 3 youyongchi fengyuan 100 qinshi meiyuan 100 chaochang supermarkt 100 meiyuan youyongchi Sample Output 89 -1

    标签: lt floyd 100 整数

    上传时间: 2016-03-10

    上传用户:wyc199288

  • SED1335驱动320x240图形液晶驱动演示程序 接口情况表述: No: LCM ----- 52 --------------------- 1...VSS..... GND

    SED1335驱动320x240图形液晶驱动演示程序 接口情况表述: No: LCM ----- 52 --------------------- 1...VSS..... GND 地线 2...VDD..... +5V(VCC) 电源 3...VO ..... -Vadj Input 对比度负压调整输入 4...A0 ..... P2.0 寄存器选择信号,命令数据方式选择 5.../WR..... WR 写有效 6.../RD..... RD 读有效 7...D0 ..... P0.0 数据总线 D0 8...D1 ..... P0.1 数据总线 D1 9...D2 ..... P0.2 数据总线 D2 10..D3 ..... P0.3 数据总线 D3 11..D4 ..... P0.4 数据总线 D4 12..D5 ..... P0.5 数据总线 D5 13..D6 ..... P0.6 数据总线 D6 14..D7 ..... P0.7 数据总线 D7 15../CS .... GND 片选通信号,低电平有效.实际使用应编入地址 16../RES.... /RESET 复位信号,低电平有效,阻容式复位电路 17..VEE..... -Vout 逆变-22.5V 负电压输出 18..VSS..... GND 地线 0V

    标签: 320x240 1335 SED LCM

    上传时间: 2013-12-22

    上传用户:redmoons

  • 模拟实现spooling技术 一个用C做的假脱机SPOOLING输入程序

    模拟实现spooling技术 一个用C做的假脱机SPOOLING输入程序,是操作系统实验来的,-do spooling SPOOLING input program is the experimental operating system

    标签: spooling SPOOLING 模拟 脱机

    上传时间: 2013-12-15

    上传用户:思琦琦

  • This document is intended to serve as an introduction to Wavelet processing through a set of Matlab

    This document is intended to serve as an introduction to Wavelet processing through a set of Matlab experiments. These experiments will gives an overview of three fundamental tasks in signal and image processing : signal, denoising and compression. These scripts are selfs contents (needed additional Matlab functions can be downloaded while reading the lectures). Each one of these five lectures should take between 1h and 2h in order to tests the various features of the scripts. One should copy/paste the provided code into a file names e.g. tp1.m, and launch the script directly from Matlab comand line > tp1 . Some of the scripts contains "holes" that you should try to fill on your own. I also provide the complete correction of these lectures as a set of Matlab scripts, but you should try as much as possible to avoid using them.

    标签: introduction processing document intended

    上传时间: 2016-03-22

    上传用户:qlpqlq

  • Kriging 插值程序

    Kriging 插值程序,实现二维三维数据插值 Makefile_hp700 Makefile_ibm6000 kriging.mdf kriging.c outboard.c inv_m.tar.gz The inverse matrix source codes which got from Netlib. f2c.tar.gz The head file and library which are used to inverse matrix source codes. krig.net The example dx file. data1.dx The input example.

    标签: Kriging 插值 程序

    上传时间: 2016-03-27

    上传用户:缥缈

  • 一. 实验目的 设计

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

    标签: 实验

    上传时间: 2013-12-16

    上传用户:宋桃子

  • k-meansy算法源代码。This directory contains code implementing the K-means algorithm. Source code may be f

    k-meansy算法源代码。This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen.

    标签: code implementing directory algorithm

    上传时间: 2016-04-07

    上传用户:shawvi

  • The IA-32 Intel Architecture Software Developer’s Manual, Volume 1: Basic Architecture (Order Numbe

    The IA-32 Intel Architecture Software Developer’s Manual, Volume 1: Basic Architecture (Order Number 245470) is part of a three-volume set that describes the architecture and programming environment of all IA-32 Intel Architecture processors.

    标签: Architecture Developer Software Manual

    上传时间: 2016-04-08

    上传用户:妄想演绎师

  • The IA-32 Intel Architecture Software Developer’s Manual, Volume 2: Instruction Set Reference (Orde

    The IA-32 Intel Architecture Software Developer’s Manual, Volume 2: Instruction Set Reference (Order Number 245471) is part of a three-volume set that describes the architecture and programming environment of all IA-32 Intel® Architecture processors. the IA-32 Intel Architecture Software Developer’s Manual, Volume 2, describes the instructions set of the processor and the opcode structure. These two volumes are aimed at application programmers who are writing programs to run under existing operating systems or executives.

    标签: Architecture Instruction Developer Reference

    上传时间: 2013-12-15

    上传用户:xsnjzljj