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

IP<b>多播</b>网络

  • We have a group of N items (represented by integers from 1 to N), and we know that there is some tot

    We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.

    标签: represented integers group items

    上传时间: 2016-01-17

    上传用户:jeffery

  • 类似于QQ的局域网聊天软件

    类似于QQ的局域网聊天软件,包括服务器端和客户端程序,采用tcp/ip socket多线程编程,服务器端主要负责客户端用户的注册登陆,用户资料的获取。客户端负责与其?BR>

    标签: 局域网 软件

    上传时间: 2016-02-15

    上传用户:lo25643

  • linux程序

    linux程序,实现标准NTP客户端,支持多播、单播和任意播(anycast)三种方式

    标签: linux 程序

    上传时间: 2013-12-17

    上传用户:zhangyigenius

  • 用游标的方法实现对称差的计算

    用游标的方法实现对称差的计算,即 (A-B)+(B-A)

    标签: 对称 计算

    上传时间: 2016-05-23

    上传用户:远远ssad

  • 1. AJAX介绍 AJAX是一种运用JavaScript和可扩展标记语言(XML)

    1. AJAX介绍 AJAX是一种运用JavaScript和可扩展标记语言(XML),在网络浏览器和服务器之间传送或接受数据的技术。 2. AJAX实例 AJAX可以用来创建更多交互式的网络应用程序。 3. AJAX源代码 简要分析上一章节效果的代码原理 4. AJAX与数据库 AJAX可以用来和数据端进行数据的交互联通。 5. 使用AJAX制作留言本 使用已有的AJAX教程,制作一个属于自己的留言本吧....

    标签: AJAX JavaScript XML 扩展

    上传时间: 2016-07-08

    上传用户:英雄

  • vxworks官方demo源代码

    vxworks官方demo源代码,有诸如“多任务”,“网络”,“输入输出”,“文件系统”“MMU”等方面的测试程序源码 仅供大家参考借鉴!

    标签: vxworks demo 源代码

    上传时间: 2016-07-20

    上传用户:GavinNeko

  • 词法分析器 对输入一个函数

    词法分析器 对输入一个函数,并对其分析main() { int a,b a = 10 b = a + 20 }

    标签: 分析器 函数 输入

    上传时间: 2013-12-20

    上传用户:hfmm633

  • 基因算法

    基因算法,用VC++或MATLAB,java等工具设计一程序计算任一个随机产生的DNA基因表达式的有效长度和值 设随机产生的基因表达式为: + Q - / b * b a Q b a a b a a b b a a a b

    标签: 基因 算法

    上传时间: 2014-01-09

    上传用户:aa54

  • 函数再现机构设计 试设计一曲柄摇杆机构

    函数再现机构设计 试设计一曲柄摇杆机构,再现函数 要求: 输入构件的转角范围180°,输出构件摆角范围30°,即: 当输入构件从a转至a+90时,输出构件从b转至b+30 当输入构件从a+90转至a+180时,输出构件从b+30转至b

    标签: 机构 函数 曲柄

    上传时间: 2013-12-17

    上传用户:英雄

  • 现有数字信号自动调制识别方法大多只适用于无记忆信号

    现有数字信号自动调制识别方法大多只适用于无记忆信号,如PSK、ASK、FSK信号等。将有记忆 信号(MSK信号)和无记忆信号一起考虑,提出了一种改进的数字信号自动识别方法。该方法采用信号的瞬时统 计量作为特征参数,采用多层神经网络作为分类器。计算机仿真表明:当噪声采用高斯白噪声,并且信噪比大于 l5 dB时,识别率高于96% ;当信噪比不低于l0 dB时,识别率不低于90%。

    标签: 数字信号 信号 自动 调制

    上传时间: 2014-01-13

    上传用户:wangchong