飞思卡尔单片机MC9SDG128的PWM应用,实现对FUTABA S30舵机的控制。
上传时间: 2015-12-18
上传用户:hasan2015
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
飞思卡尔智能车的数据采集(CCD摄像头)程序,舵机,电机控制程序.doc
上传时间: 2016-04-17
上传用户:xg262122
第一届大学生飞思卡尔智能车程序源码,包括舵机控制,路径识别等
上传时间: 2016-05-01
上传用户:stella2015
自己做的机器人01,使用AVR16L单片机,控制多个舵机
标签: 机器人
上传时间: 2013-12-18
上传用户:thuyenvinh
用游标的方法实现对称差的计算,即 (A-B)+(B-A)
上传时间: 2016-05-23
上传用户:远远ssad
词法分析器 对输入一个函数,并对其分析main() { int a,b a = 10 b = a + 20 }
上传时间: 2013-12-20
上传用户:hfmm633
一个用AVR做的简单的机器人,是用汇编语言写的,主要是舵机的控制,
上传时间: 2014-12-01
上传用户:huyiming139
一个网上的开源项目,用AVR单片机做的舵机,用的是直流电机,电阻反馈,PID控制,是个很好的学习项目
上传时间: 2013-12-19
上传用户:685
基因算法,用VC++或MATLAB,java等工具设计一程序计算任一个随机产生的DNA基因表达式的有效长度和值 设随机产生的基因表达式为: + Q - / b * b a Q b a a b a a b b a a a b
上传时间: 2014-01-09
上传用户:aa54