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

Paralle-output

  • Input The input contains blocks of 2 lines. The first line contains the number of sticks parts afte

    Input The input contains blocks of 2 lines. The first line contains the number of sticks parts after cutting, there are at most 64 sticks. The second line contains the lengths of those parts separated by the space. The last line of the file contains zero. Output The output should contains the smallest possible length of original sticks, one per line. Sample Input 9 5 2 1 5 2 1 5 2 1 4 1 2 3 4 0 Sample Output 6 5

    标签: contains The blocks number

    上传时间: 2015-10-27

    上传用户:lepoke

  • Input The input consists of two lines. The first line contains two integers n and k which are the l

    Input The input consists of two lines. The first line contains two integers n and k which are the lengths of the array and the sliding window. There are n integers in the second line. Output There are two lines in the output. The first line gives the minimum values in the window at each position, from left to right, respectively. The second line gives the maximum values. Sample Input 8 3 1 3 -1 -3 5 3 6 7 Sample Output -1 -3 -3 -3 3 3 3 3 5 5 6 7

    标签: The two consists contains

    上传时间: 2014-12-21

    上传用户:hongmo

  • Solutions are obtained for Poissson, diffusion, or wave PDEs homogeneous or nonhomogeneous equations

    Solutions are obtained for Poissson, diffusion, or wave PDEs homogeneous or nonhomogeneous equations and/or boundary conditions rectangular, cylindrical, or spherical coordinates time, Laplace, or frequency domains Dirichlet, Neumann, Robin, singular, periodic, or incoming/outgoing boundary conditions. Output is suitable for pasting into LaTeX documents.

    标签: nonhomogeneous homogeneous Solutions diffusion

    上传时间: 2015-10-30

    上传用户:JasonC

  • design LP,HP,B S digital Butterworth and Chebyshev filter. All array has been specified internally

    design LP,HP,B S digital Butterworth and Chebyshev filter. All array has been specified internally,so user only need to input f1,f2,f3,f4,fs(in hz), alpha1,alpha2(in db) and iband (to specify the type of to design). This program output hk(z)=bk(z)/ak(z),k=1,2,..., ksection and the freq.

    标签: Butterworth internally Chebyshev specified

    上传时间: 2015-11-08

    上传用户:253189838

  • % 文件名:randlsbget.m % 程序员:余波 % 编写时间:2007.6.25 % 函数功能: 本函数将完成提取隐秘于上的秘密信息 % 输入格式举例:result=( scover.

    % 文件名:randlsbget.m % 程序员:余波 % 编写时间:2007.6.25 % 函数功能: 本函数将完成提取隐秘于上的秘密信息 % 输入格式举例:result=( scover.jpg ,56, secret.txt ,2001) % 参数说明: % output是信息隐藏后的图象 % len_total是秘密信息的长度 % goalfile是提取出的秘密信息文件 % key是随机间隔函数的密钥 % result是提取的信息 function result=randlsbget(output,len_total,goalfile,key) ste_cover=imread(output) ste_cover=double(ste_cover) % 判断嵌入信息量是否过大 [m,n]=size(ste_cover) frr=fopen(goalfile, a ) % p作为信息嵌入位计数器将信息序列写回文本文件 p=1 % 调用随机间隔函数选取像素点 [row,col]=randinterval(ste_cover,len_toal,key) for i=:len_toal if bitand(ste_cover(row(i),col(i)),1)==1 fwrite(frr,1, bit1 ) result(p,1) else fwrite(frr,0, bit1 ) result(p,1)=0 end if p==len_total break end p=p+1 end fclose(frr)

    标签: randlsbget result scover 2007

    上传时间: 2015-11-10

    上传用户:yzhl1988

  • 本装置是一个以HT46R71D 为主芯片

    本装置是一个以HT46R71D 为主芯片,配合传感器组成的汽车轮胎气压检测装 置,最终取高三位有效值于LCD 显示,有四种显示单位供切换(Psi、Bar、Kpa、 Kgf/cm2)。本装置仅为参考范例,使用时,为提高准确度,建议多量测些组数 据来构建Sensor Output Voltage - Discharge Time (V-T)表格,并作相应校准。

    标签: 46R 71D R71 HT

    上传时间: 2015-11-19

    上传用户:shinesyh

  • 的问题.派尔高协议,控制左转右转时,出现问题.其他功能好用.我用DELPHI写的程序,在MOUSEDOWN中, str := chr($FF)+chr($01)+chr($00)+chr($04)+c

    的问题.派尔高协议,控制左转右转时,出现问题.其他功能好用.我用DELPHI写的程序,在MOUSEDOWN中, str := chr($FF)+chr($01)+chr($00)+chr($04)+chr($0F)+chr($00)+chr($14) MSComm1.output := str 在CLICK事件中: str := chr($FF)+chr($01)+chr($00)+chr($00)+chr($00)+chr($00)+chr($01) MSComm1.output := str

    标签: chr MOUSEDOWN DELPHI str

    上传时间: 2015-11-20

    上传用户:Thuan

  • 已知:Sn= 1+1/2+1/3+…+1/n。显然对于任意一个整数K

    已知:Sn= 1+1/2+1/3+…+1/n。显然对于任意一个整数K,当n足够大的时候,Sn大于K。   现给出一个整数K(1<=k<=15),要求计算出一个最小的n;使得Sn>K。 Input 键盘输入 k Output 屏幕输出 n Sample Input 1 Sample Output 2 Source

    标签: Sn 整数

    上传时间: 2014-01-25

    上传用户:ruixue198909

  • 这是一个ACM中的题请大家看以下哈 如果有问题请多多指教 n个猴子围坐一圈并按照顺时针方向从1到n编号

    这是一个ACM中的题请大家看以下哈 如果有问题请多多指教 n个猴子围坐一圈并按照顺时针方向从1到n编号,从第s个猴子开始进行1到m的报数,报数到第m的猴子 退出报数,从紧挨它的下一个猴子重新开始1到m的报数,如此进行下去知道所有的猴子都退出为止。 求给出这n个猴子的退出的顺序表。 Input 有做组测试数据.每一组数据有两行,第一行输入n(表示猴子的总数)第二行输入数据s(从第s 个猴子开 始报数)和数据m(第m个猴子退出报数).当输入0 0 0时表示程序结束. Output 输出中,每组数据的输出结果为一行,中间用逗号间隔。

    标签: ACM 方向

    上传时间: 2014-01-01

    上传用户:脚趾头

  • An AHB system is made of masters slaves and interconnections. A general approach to include all poss

    An AHB system is made of masters slaves and interconnections. A general approach to include all possible "muxed" implementation of multi layered AHB systems and arbitrated AHB ones can be thought as an acyclic graph where every source node is a master, every destination node is a slave and every internal node is an arbiter there must be one and only one arc exiting a master and one or more entering a slave (single slave verus multi-slave or arbitrated slave) an arbiter can have as many input and output connections as needed. A bridge is a special node that collapses one or more slave nodes and a master node in a new "complex" node.

    标签: interconnections approach general include

    上传时间: 2015-12-12

    上传用户:lyy1234