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

数字<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

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

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

    标签: 对称 计算

    上传时间: 2016-05-23

    上传用户:远远ssad

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

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

    标签: 分析器 函数 输入

    上传时间: 2013-12-20

    上传用户:hfmm633

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

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

    标签: 机构 函数 曲柄

    上传时间: 2013-12-17

    上传用户:英雄

  • 在计算机控制系统中

    在计算机控制系统中,使用的是数字PID控制器,数字PID控制算法通常又分为位置式和增量式控制算法。由于计算机控制是一种采样控制,它只能根据采样时刻的偏差值?BR> [18B20源程序加上位机温度显示应用程序包(1).rar] - 用c写的18b20驱动程序 功能:实现对DS18B20的读取 原理:单总线协议 注意:单总线协议对延时要求比较严格,此程序中采用的是11.0592M的晶振,如果使用其他的晶 [最佳直线应用程序.rar] - 用于传感器线性度计算的小程序,供大家 共享和学习.

    标签: 计算机控制系统

    上传时间: 2013-12-20

    上传用户:zhouchang199

  • 这个连接池是直接从JIVE中取出来的

    这个连接池是直接从JIVE中取出来的,进行了一下修改,使得连接参数直接在程序中设定而不是从属性文件中读取。 [b]用法:[/b] 先设定自己的连接参数,在DbConnectionDefaultPool.java文件的loadProperties方法中。注意你也需要设定连接池的log文件的存放位置。

    标签: JIVE 连接

    上传时间: 2016-11-21

    上传用户:TF2015

  • 本书系统地介绍了图像处理与识别的基本原理、典型方法和实用技术。全书共分12章

    本书系统地介绍了图像处理与识别的基本原理、典型方法和实用技术。全书共分12章,第1章~第6章是图像处理与识别的基础内容,包括图像科学综述、MATLAB语言图像编程、图像增强、图像分割、图像特征提取和图像识别;第7章~第10章是图像处理与识别的工程实例,涵盖了医学图像处理、文字识别和自导引小车路径识别等应用实例,并结合理论算法,提供了大量MATLAB代码程序,以帮助读者掌握如何使用MATLAB语言快速进行算法的仿真、调试和估计等方法。第11章~第12章,是两个综合性较强的实例,分别是Visual C++实现的基于神经网络的文字识别系统和车牌定位系统。 本书附带的光盘给出了各个章节列举的实例的源代码,同时赠送了28个常用数字图像处理算法的Visual C++代码实现。

    标签: 图像处理 典型

    上传时间: 2014-01-06

    上传用户:ecooo

  • 汉诺塔!!! Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation

    汉诺塔!!! Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation eg. if n = 2 A→B A→C B→C if n = 3 A→C A→B C→B A→C B→A B→C A→C

    标签: the animation Simulate movement

    上传时间: 2017-02-11

    上传用户:waizhang

  • 5402开发板附带的源程序

    5402开发板附带的源程序,里面有简单的外设操作程序、常用数字信号处理算法程序等等。基本上均采用C语言编写。

    标签: 5402 开发板 源程序

    上传时间: 2013-12-04

    上传用户:66666

  • 本项目实现Elgalma体制的加解密

    本项目实现Elgalma体制的加解密,公私钥生成后分别放于不同的文件中。用该密码体制实现了对任意数据类型的加解密以及实现了数据签名验证算法。本项目中我实现的是32位的算法。其中,数字签名验证算法是对hash摘要值(SHA-1算法产生的)进行签名,并进行验证。

    标签: Elgalma 项目 加解密

    上传时间: 2013-12-14

    上传用户:阿四AIR