(五)测试数据:n=0 n=-1 n=2 a 1 2 a 2 3 a 3 4 d 3 5 n=2 a 1 5 a 2 10 d 1 15 a 3 20 a 4 25 a 5 30 d 2 35 d 4 40 e 0 0 (六)测试结果:error error 没付钱,没停就走了 第一辆车付50元 第二辆车付125元 第三辆车没出来 第四辆车付25元 第五辆车没进入
上传时间: 2014-02-08
上传用户:wfeel
C++A&Q.chm,对学习vc++6.0会有些帮助
上传时间: 2016-04-07
上传用户:gonuiln
A good book intruduce visual basic 6.0
标签: intruduce visual basic good
上传时间: 2016-04-10
上传用户:songyue1991
8led_Test 开发环境:Realview MDK 开发版:Embest LPCEB2000-A 测试结果:8段数码管上依次显示0-7的数字!
标签: led_Test Realview Embest LPCEB
上传时间: 2016-04-18
上传用户:LouieWu
求解 形如 a*x^2+b*x+c=0 (mod p)的二次同余方程,其中p为任意素数,a,b,c为任意整数.
上传时间: 2014-01-11
上传用户:er1219
Introduction to Visual C++ 6.0 Standard Edition manual and is a proven aid to understanding the C++ language
标签: understanding Introduction Standard Edition
上传时间: 2013-12-23
上传用户:源码3
A Heavily Commented Linux Kernel Source Code Linux Version 0.11 Revision 2.0.1
标签: Linux Commented Revision Heavily
上传时间: 2016-05-18
上传用户:a3318966
SimpliciTI™ -1.0.3.exe for CC11xx and CC25xx SimpliciTI is a simple low-power RF network protocol aimed at small (<256) RF networks. Such networks typically contain battery operated devices which require long battery life, low data rate and low duty cycle and have a limited number of nodes talking directly to each other or through an access point or range extenders. Access point and range extenders are not required but provide extra functionality such as store and forward messages. With SimpliciTI the MCU resource requirements are minimal which results in the low system cost.
标签: SimpliciTI low-power network simple
上传时间: 2014-11-05
上传用户:rishian
SimpliciTI™ -1.0.4.exe for CC2430 SimpliciTI is a simple low-power RF network protocol aimed at small (<256) RF networks. Such networks typically contain battery operated devices which require long battery life, low data rate and low duty cycle and have a limited number of nodes talking directly to each other or through an access point or range extenders. Access point and range extenders are not required but provide extra functionality such as store and forward messages. With SimpliciTI the MCU resource requirements are minimal which results in the low system cost.
标签: SimpliciTI low-power protocol network
上传时间: 2016-05-21
上传用户:R50974
Ex3-23 亲兄弟问题 « 问题描述: 给定n 个整数0 1 1 , , , n- a a a 组成的序列。序列中元素i a 的亲兄弟元素k a 定义为: min{ | } k i j n j j i a = a a ³ a < < 。 亲兄弟问题要求给定序列中每个元素的亲兄弟元素的位置。元素i a 的亲兄弟元素为k a 时,称k 为元素i a 的亲兄弟元素的位置。当元素i a 没有亲兄弟元素时,约定其亲兄弟元素 的位置为-1。 例如,当n=10,整数序列为6,1,4,3,6,2,4,7,3,5 时,相应的亲兄弟元素位 置序列为:4,2,4,4,7,6,7,-1,9,-1。 « 编程任务: 对于给定的n个整数0 1 1 , , , n- a a a 组成的序列,试用抽象数据类型栈,设计一个O(n) 时间算法,计算相应的亲兄弟元素位置序列。 « 数据输入: 由文件input.txt提供输入数据。文件的第1 行有1 个正整数n,表示给定给n个整数。 第2 行是0 1 1 , , , n- a a a 。 « 结果输出: 程序运行结束时,将计算出的与给定序列相应的亲兄弟元素位置序列输出到output.txt 中。 输入文件示例 输出文件示例 input.txt 10 4 2 4 4 7 6 7 -1 9 -1 output.txt 6 1 4 3 6 2 4 7 3 5
上传时间: 2013-12-17
上传用户:shizhanincc