很好的搜索: 给你很多长度不定的木棒,将他们分成几组,每组中的总长度作为这组的标示值,请给出一种分组方法,能使得所有标示值中的最小值最大。 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行,每一行包含两个字符串, 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
上传时间: 2016-03-10
上传用户:wyc199288
无线网卡驱动 固件程序 There are currently 3 "programming generations" of Atheros 802.11 wireless devices (some of these have multiple hardware implementations but otherwise appear identical to users): 5210 supports 11a only 5211 supports both 11a and 11b 5212 supports 11a, 11b, and 11g
标签: programming generations currently wireless
上传时间: 2014-01-22
上传用户:aa54
我的文件管理设计中对于文件管理的功能主要有以下几个:输入文件(input), 从文件列表中删除一个记录(delete a record from list),保存文件(save), 查找文件(search record on table),文件的列表(list)
上传时间: 2013-12-10
上传用户:zxc23456789
It it a convertor program. Just need to input your birth , it will show your astrology
标签: your convertor astrology program
上传时间: 2016-03-31
上传用户:waitingfy
Powerpcb gerber output step by step for newbie using powerpcb,just for your work happy!
标签: step for Powerpcb powerpcb
上传时间: 2013-12-26
上传用户:change0329
PCI设计指南The Xilinx LogiCORE PCI interface is a fully verified, pre-implemented PCI Bus interface. This interface is available in 32-bit and 64- bit versions, with support for multiple Xilinx FPGA device families. It is designed to support both Verilog-HDL and VHDL. The design examples in this book are provided in Verilog.
标签: interface PCI pre-implemented LogiCORE
上传时间: 2016-04-03
上传用户:清风冷雨
The Unisoft software module GERBER CONNECTION (CNC-BRIDGE). GERBER CONNECTION has all the features of VIEW-MARKUP and adds the ability to open multiple gerber file layers and add information to components. It is always the preference to use the CAD data vs. gerber data. If you do not have the CAD data then GERBER CONNECTION can help.
标签: CONNECTION GERBER CNC-BRIDGE software
上传时间: 2014-01-21
上传用户:13681659100
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
小型的Lex编译器,能从input.txt识别简单的C++语句,并将分析结果存于output.txt中
上传时间: 2014-01-12
上传用户:qq21508895