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

apache-<b>TOMcat</b>-7.0.40

  • 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

  • 《C++Builder数据库程序设计》配书光盘 1.光盘内容 Readme.txt 光盘使用说明 书中各章范例文件

    《C++Builder数据库程序设计》配书光盘 1.光盘内容 Readme.txt 光盘使用说明 书中各章范例文件,Ch1-Ch13文件夹中是各章的范例文件,DATABASE文件夹下为书中要应用的数据库文件。 2.光盘运行环境 本光盘可以运行在Windows 操作系统下,包括98/Me/2000/NT。 软件环境是C++Builder 5.0及以上版本,其中第5章、第8章和第11章(即ch5、ch8和ch11文件夹下)的范例文件的运行,还需要系统中已安装过SQL Server 7.0。其中SQL Server 7.0的安装请参考本书第11章的有关说明。 3.光盘使用说明 在使用本光盘的范例文件时,要先把光盘上的内容复制到硬盘,然后把各章范例文件的只读属性取消。其中第11章的范例运行,要求系统正确安装SQL Server 7.0的服务器端文件,操作系统应为Windows NT Server或Windows 2000 Server。

    标签: Builder Readme 光盘 txt

    上传时间: 2014-01-12

    上传用户:tianyi223

  • 软件名字:Windows内存清理大师V1.0 软件介绍: Windows内存清理大师,是国内领先推出的一款内存清理软件,她能自动或者人工清理内存,优化内存

    软件名字:Windows内存清理大师V1.0 软件介绍: Windows内存清理大师,是国内领先推出的一款内存清理软件,她能自动或者人工清理内存,优化内存,让您的系统时刻保刻流畅。软件退出时会自动保存日志,让您对清理结果一目了然。 软件作者:FlyBird(飞鸟传说) 软件MD5值:E9B628F4F4AE3C35F7A4B23DE0EB8E44 软件论坛:http://forums.zxbc.cn/?fromuid=4 联系方式:E-mail:wucc513721@163.com QQ:17472439 软件编译平台:DELPHI 7.0 免责声明 一旦您使用本软件,即表示您愿意接受以下条约。 1、您同意尽您最大的努力来防止和保护未经授权的发表和使用本程式及其文件内容,作者保留所有无明确说明的权利。 2、若运行此软件后出现不良后果,作者对其概不负责,亦不承担任何法律责任。 3、作者对于软件所有功能之保证,已提供于软件内,没有任何其他额外保证。其他作者未提供之功能、品质或损及您其他之权益均非作者之保证范围;若有价值、瑕疵等问题,均非本软件作者之责任。 4、本软件著作权人为本软件作者,本软件最终解释权归本软件作者所有,本免责声明最终解释权归本软件作者所有。

    标签: Windows 内存 1.0 软件

    上传时间: 2014-06-15

    上传用户:dragonhaixm

  • 本代码为编码开关代码

    本代码为编码开关代码,编码开关也就是数字音响中的 360度旋转的数字音量以及显示器上用的(单键飞梭开 关)等类似鼠标滚轮的手动计数输入设备。 我使用的编码开关为5个引脚的,其中2个引脚为按下 转轮开关(也就相当于鼠标中键)。另外3个引脚用来 检测旋转方向以及旋转步数的检测端。引脚分别为a,b,c b接地a,c分别接到P2.0和P2.1口并分别接两个10K上拉 电阻,并且a,c需要分别对地接一个104的电容,否则 因为编码开关的触点抖动会引起轻微误动作。本程序不 使用定时器,不占用中断,不使用延时代码,并对每个 细分步数进行判断,避免一切误动作,性能超级稳定。 我使用的编码器是APLS的EC11B可以参照附件的时序图 编码器控制流水灯最能说明问题,下面是以一段流水 灯来演示。

    标签: 代码 编码开关

    上传时间: 2017-07-03

    上传用户:gaojiao1999

  • 离散实验 一个包的传递 用warshall

     实验源代码 //Warshall.cpp #include<stdio.h> void warshall(int k,int n) { int i , j, t; int temp[20][20]; for(int a=0;a<k;a++) { printf("请输入矩阵第%d 行元素:",a); for(int b=0;b<n;b++) { scanf ("%d",&temp[a][b]); } } for(i=0;i<k;i++){ for( j=0;j<k;j++){ if(temp[ j][i]==1) { for(t=0;t<n;t++) { temp[ j][t]=temp[i][t]||temp[ j][t]; } } } } printf("可传递闭包关系矩阵是:\n"); for(i=0;i<k;i++) { for( j=0;j<n;j++) { printf("%d", temp[i][ j]); } printf("\n"); } } void main() { printf("利用 Warshall 算法求二元关系的可传递闭包\n"); void warshall(int,int); int k , n; printf("请输入矩阵的行数 i: "); scanf("%d",&k); 四川大学实验报告 printf("请输入矩阵的列数 j: "); scanf("%d",&n); warshall(k,n); } 

    标签: warshall 离散 实验

    上传时间: 2016-06-27

    上传用户:梁雪文以

  • DTFT的计算

    已知系统函数为H(z)=1/[(1-0.2z^-1)(1-0.3z^-1)(1+0.4z^-1)]。试用长除法求h(n)的6点输出。 答案:clc;clear all;b=1;a=poly([0.2,0.3,-0.4]);x=deconv([1,zeros(1,6+4-1-1)],a)

    标签: DTFT 计算

    上传时间: 2017-10-21

    上传用户:zhouhua

  • 道理特分解法

    #include "iostream" using namespace std; class Matrix { private: double** A; //矩阵A double *b; //向量b public: int size; Matrix(int ); ~Matrix(); friend double* Dooli(Matrix& ); void Input(); void Disp(); }; Matrix::Matrix(int x) { size=x; //为向量b分配空间并初始化为0 b=new double [x]; for(int j=0;j<x;j++) b[j]=0; //为向量A分配空间并初始化为0 A=new double* [x]; for(int i=0;i<x;i++) A[i]=new double [x]; for(int m=0;m<x;m++) for(int n=0;n<x;n++) A[m][n]=0; } Matrix::~Matrix() { cout<<"正在析构中~~~~"<<endl; delete b; for(int i=0;i<size;i++) delete A[i]; delete A; } void Matrix::Disp() { for(int i=0;i<size;i++) { for(int j=0;j<size;j++) cout<<A[i][j]<<" "; cout<<endl; } } void Matrix::Input() { cout<<"请输入A:"<<endl; for(int i=0;i<size;i++) for(int j=0;j<size;j++){ cout<<"第"<<i+1<<"行"<<"第"<<j+1<<"列:"<<endl; cin>>A[i][j]; } cout<<"请输入b:"<<endl; for(int j=0;j<size;j++){ cout<<"第"<<j+1<<"个:"<<endl; cin>>b[j]; } } double* Dooli(Matrix& A) { double *Xn=new double [A.size]; Matrix L(A.size),U(A.size); //分别求得U,L的第一行与第一列 for(int i=0;i<A.size;i++) U.A[0][i]=A.A[0][i]; for(int j=1;j<A.size;j++) L.A[j][0]=A.A[j][0]/U.A[0][0]; //分别求得U,L的第r行,第r列 double temp1=0,temp2=0; for(int r=1;r<A.size;r++){ //U for(int i=r;i<A.size;i++){ for(int k=0;k<r-1;k++) temp1=temp1+L.A[r][k]*U.A[k][i]; U.A[r][i]=A.A[r][i]-temp1; } //L for(int i=r+1;i<A.size;i++){ for(int k=0;k<r-1;k++) temp2=temp2+L.A[i][k]*U.A[k][r]; L.A[i][r]=(A.A[i][r]-temp2)/U.A[r][r]; } } cout<<"计算U得:"<<endl; U.Disp(); cout<<"计算L的:"<<endl; L.Disp(); double *Y=new double [A.size]; Y[0]=A.b[0]; for(int i=1;i<A.size;i++ ){ double temp3=0; for(int k=0;k<i-1;k++) temp3=temp3+L.A[i][k]*Y[k]; Y[i]=A.b[i]-temp3; } Xn[A.size-1]=Y[A.size-1]/U.A[A.size-1][A.size-1]; for(int i=A.size-1;i>=0;i--){ double temp4=0; for(int k=i+1;k<A.size;k++) temp4=temp4+U.A[i][k]*Xn[k]; Xn[i]=(Y[i]-temp4)/U.A[i][i]; } return Xn; } int main() { Matrix B(4); B.Input(); double *X; X=Dooli(B); cout<<"~~~~解得:"<<endl; for(int i=0;i<B.size;i++) cout<<"X["<<i<<"]:"<<X[i]<<" "; cout<<endl<<"呵呵呵呵呵"; return 0; } 

    标签: 道理特分解法

    上传时间: 2018-05-20

    上传用户:Aa123456789

  • 7寸RGB接口电容触摸屏GT911模块软硬件技术资料+STM32单片机软件工程源码

    7寸RGB接口电容触摸屏GT911模块软硬件技术资料+STM32单片机软件工程源码:1-原理图_尺寸图_封装库2-配套程序3-参考资料5_7寸液晶屏与各开发板的接线方式.xls关于触摸相关程序说明.pdf7.0-11SPEC(STD-TN92).pdfgt91x编程指南.pdf其他电容触控芯片GT911_数据手册2013.pdf触摸屏主机端调试指南.pdf

    标签: rgb 接口 电容触摸屏 gt911

    上传时间: 2021-12-08

    上传用户:

  • Factorytalk view 7.0授权

    FTA7.0及STUDIO5000授权,内附操作说明

    标签: FTA7.0 STUDIO5000

    上传时间: 2022-02-21

    上传用户:

  • (网盘)朱老师物联网大讲堂-全部视频

    |- 我的虚拟机和ubuntu下载 - 0 B|- 腾讯课堂公开课 - 0 B|- 工具软件 - 0 B|- X210光盘资料 - 0 B|- 4.C语言专题精讲篇 - 0 B|- 2.uboot和linux内核移植 - 0 B|- 1.ARM裸机全集 - 0 B|- 0.基础预科 - 0 B|- 专用播放器第一代-已不用,请下载第二代.rar - 18.10 MB|- 专用播放器-《朱老师物联网大讲堂》收费视频.rar - 18.10 MB|- 朱老师物联网大讲堂高级课程专用播放器-第二代.rar - 28.10 MB

    标签: 物联网

    上传时间: 2022-06-06

    上传用户: