IC2的程序包,实现勒51中的串行数据的传输诸多问题的解决
上传时间: 2015-12-18
上传用户:皇族传媒
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
全面介绍远程控制的一个实例,很不错的,能在两台计算机上进行通讯,此外,你还能从中学习到如何压缩数据后传输
标签: 远程控制
上传时间: 2014-01-16
上传用户:exxxds
一款基于J2EE轻量级架构的社区系统,具有如下特点: 表示层:基于Apache Tapestry组件化页面技术,对客户界面进行模块设计。由于页面模板中只有简单的类似if-else和for 循环逻辑,并且所有标签都是标准的HTML标签,因此页面可以放在任何所见所得的HTML编辑器中进行很轻松的编辑、美化。当然,Tapestry只是整个系统的表现部分,如果需要,此部分也可由其它技术实现,如JSP,Velocity等。 权限系统:在客户界面与业务核心层间,存在一套完整的权限系统。每个用户在系统中都有自己的权限,这些权限细致限定了该用户可以使用哪些服务或者可以访问哪些业务对象。 过滤器系统:此系统由一系列过滤器组成,对表示层要显示的社区内容执行过滤。 社区核心层:这里完成几乎所有的业务逻辑。 后台数据库系统:存储社区各项数据。数据层服务由Hibernate提供数据连接。 模块化、可配置、伸缩性强:您可广泛程度上的定义多数社区子系统:如用户、组、权限系统、过滤器、拦截器、等级积分算法、社区属性(如体力值、魅力值)等。
上传时间: 2016-04-08
上传用户:lxm
用VC实现PC并行端口数字信息的输入/输出 目前,在实验室和工业应用的各种控制系统中,串口是常用的计算机与外部控制系统之间的数据传输通道。由于串行通信方便易行,所以应用广泛。但是使用串行通信,在实时性、速度、数据量等方面受到限制。而计算机的并行端口传输数据时是一次性传送8个位(一个字节)或更多,由于传输量较大,因此数据的传输速度要比串口快,在许多必须讲究传输速度的控制系统里,用PC并行端口与之连接就是一个很好的解决方案
上传时间: 2016-05-06
上传用户:ggwz258
用游标的方法实现对称差的计算,即 (A-B)+(B-A)
上传时间: 2016-05-23
上传用户:远远ssad
大学班务管理系统,包括以下功能: (1)数据的添加功能模块 (2)数据的修改功能模块 (3)数据的删除功能模块 (4)数据的计算模块 (5)数据的备份和还原功能模块 (6)数据的前台显示模块 (7)用户权限的设置功能 由VC6.0和Access实现
上传时间: 2013-12-19
上传用户:LIKE
tftp功能服务器及客户端的实现,可多线程下载上传文件,有数据报传输跟踪信息,对协议入门编程者有很大帮助
上传时间: 2013-12-16
上传用户:lixinxiang
C51下的DES加密函数包,可以方便用于IC的数据安全传输,不过需要>2K的RAM。
上传时间: 2016-07-18
上传用户:aa17807091
词法分析器 对输入一个函数,并对其分析main() { int a,b a = 10 b = a + 20 }
上传时间: 2013-12-20
上传用户:hfmm633