用JAVA做的一个手机上的计算器,程序的设计非常适合快速的输入数字、输入运算符号进行计算。同时还可以画也2D、3D的函数图像。
上传时间: 2015-12-24
上传用户:66666
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
The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).
标签: converts Toolbox complex logical
上传时间: 2016-02-12
上传用户:a673761058
密码锁 1. 出厂的统一密码为个人码″12345678″,管理码″88888888″。 2. 上电时密码锁红绿灯由点点亮到熄灭,表示可以开始输入密码。 3. 操作键板上″#″键为激活键,按″#″键可开启线路板进入工作状态。 4. 操作键板上″*″键在数据输入状态时为淸除键,用于输入错误数字的淸除,每按一次″ *″淸除一位数字,如长按2 秒,红绿灯前后分别亮一下,表示淸除所有数字。 5. 每按一次数字键绿灯闪一下,表示数字已输入。 6. 任何键按下25 秒左右,无后续操作,计算机板自动进入睡眠状态。 7. 一旦进入睡眠状态则所有的操作终止,未完成动作视为无效操作。须按下″#″唤醒重新 进入功能操作。 8. 当红灯点亮时,表示电压不足状态,需更换电池。
上传时间: 2016-10-18
上传用户:皇族传媒
汉诺塔!!! 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
电路由AT89C52,4个数码管,两个按键构成。两个按键用来实现密码的输入,并在数码管上显示输入的数字。输入数字正确,数码管显示OPEN,错误时数码管全部显示0。连续3次错误,熄灭数码管同时报警3秒,3秒之后恢复到初始状态。
上传时间: 2017-04-14
上传用户:gxmm
里面包含研华DAQ的各个重要功能源码,数字量输入输出,模拟量输入输出等
上传时间: 2014-08-14
上传用户:trepb001
将魔王的语言抽象为人类的语言:魔王语言由以下两种规则由人的语言逐步抽象上去的:α-〉β1β2β3…βm ;θδ1δ2…-〉θδnθδn-1…θδ1 设大写字母表示魔王的语言,小写字母表示人的语言B-〉tAdA,A-〉sae,eg:B(ehnxgz)B解释为tsaedsaeezegexenehetsaedsae对应的话是:“天上一只鹅地上一只鹅鹅追鹅赶鹅下鹅蛋鹅恨鹅天上一只鹅地上一只鹅”。(t-天d-地s-上a-一只e-鹅z-追g-赶x-下n-蛋h-恨)
上传时间: 2013-12-19
上传用户:aix008
该汉字密码锁,具有日历,星期,时间,温度显示功能,掉电记忆。 密码锁的功能具备,6位数字密码输入正确开锁,修改密码,后门查看当前密码,三次输入错误报警,密码保存。 主要元件52,2402存储密码,时钟芯片1302,温度传感器18b20,矩阵键盘4*4,程序主要有,2402读写程序,键盘扫描,密码判断,时间,温度程序,这些就不说了,程序有注释的,大家可以看看,都不难,仔细看看就明白了。
上传时间: 2013-12-26
上传用户:llandlu
(1)完成键盘,七段LED显示器,蜂鸣器,A/D数据采集,看门狗的自检程序设计 (2)利用拨盘,键盘和七段LED显示器,实现-19999至+19999任意5套数字的输入、存储、读出;具有必要的保护措施。 提示:重点掌握74HC245、七段LED 显示器、25045电路和编程。
标签: 键盘
上传时间: 2017-09-02
上传用户:netwolf