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

锂硫<b>电池</b>

  • 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

  • The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical)

    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

  • 汉诺塔!!! Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation

    汉诺塔!!! 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

  • 将魔王的语言抽象为人类的语言:魔王语言由以下两种规则由人的语言逐步抽象上去的:α-〉β1β2β3…βm ;θδ1δ2…-〉θδnθδn-1…θδ1 设大写字母表示魔王的语言

    将魔王的语言抽象为人类的语言:魔王语言由以下两种规则由人的语言逐步抽象上去的:α-〉β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

  • 本代码为编码开关代码

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

    标签: 代码 编码开关

    上传时间: 2017-07-03

    上传用户:gaojiao1999

  • 【问题描述】 在一个N*N的点阵中

    【问题描述】 在一个N*N的点阵中,如N=4,你现在站在(1,1),出口在(4,4)。你可以通过上、下、左、右四种移动方法,在迷宫内行走,但是同一个位置不可以访问两次,亦不可以越界。表格最上面的一行加黑数字A[1..4]分别表示迷宫第I列中需要访问并仅可以访问的格子数。右边一行加下划线数字B[1..4]则表示迷宫第I行需要访问并仅可以访问的格子数。如图中带括号红色数字就是一条符合条件的路线。 给定N,A[1..N] B[1..N]。输出一条符合条件的路线,若无解,输出NO ANSWER。(使用U,D,L,R分别表示上、下、左、右。) 2 2 1 2 (4,4) 1 (2,3) (3,3) (4,3) 3 (1,2) (2,2) 2 (1,1) 1 【输入格式】 第一行是数m (n < 6 )。第二行有n个数,表示a[1]..a[n]。第三行有n个数,表示b[1]..b[n]。 【输出格式】 仅有一行。若有解则输出一条可行路线,否则输出“NO ANSWER”。

    标签: 点阵

    上传时间: 2014-06-21

    上传用户:llandlu

  • 离散实验 一个包的传递 用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

    上传用户:梁雪文以

  • 道理特分解法

    #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

  • 安森美车规级1080P图像传感器AR0231手册

    AR0231AT7C00XUEA0-DRBR(RGB滤光)安森美半导体推出采用突破性减少LED闪烁 (LFM)技术的新的230万像素CMOS图像传感器样品AR0231AT,为汽车先进驾驶辅助系统(ADAS)应用确立了一个新基准。新器件能捕获1080p高动态范围(HDR)视频,还具备支持汽车安全完整性等级B(ASIL B)的特性。LFM技术(专利申请中)消除交通信号灯和汽车LED照明的高频LED闪烁,令交通信号阅读算法能于所有光照条件下工作。AR0231AT具有1/2.7英寸(6.82 mm)光学格式和1928(水平) x 1208(垂直)有源像素阵列。它采用最新的3.0微米背照式(BSI)像素及安森美半导体的DR-Pix™技术,提供双转换增益以在所有光照条件下提升性能。它以线性、HDR或LFM模式捕获图像,并提供模式间的帧到帧情境切换。 AR0231AT提供达4重曝光的HDR,以出色的噪声性能捕获超过120dB的动态范围。AR0231AT能同步支持多个摄相机,以易于在汽车应用中实现多个传感器节点,和通过一个简单的双线串行接口实现用户可编程性。它还有多个数据接口,包括MIPI(移动产业处理器接口)、并行和HiSPi(高速串行像素接口)。其它关键特性还包括可选自动化或用户控制的黑电平控制,支持扩频时钟输入和提供多色滤波阵列选择。封装和现状:AR0231AT采用11 mm x 10 mm iBGA-121封装,现提供工程样品。工作温度范围为-40℃至105℃(环境温度),将完全通过AEC-Q100认证。

    标签: 图像传感器

    上传时间: 2022-06-27

    上传用户:XuVshu

  • VIP专区-单片机源代码精选合集系列(73)

    eeworm.com VIP专区 单片机源码系列 72资源包含以下内容:1. 24c01a的读写程序.doc2. PIC单片机程序设计基础.pdf3. 24c16读写驱动程序.doc4. PIC单片机基础知识.rar5. 单片机汇编语言程序库.rar6. PIC的C语言编程知识.pdf7. 51程序库 (各种常用程序).doc8. keil入门实例教程.rar9. 在伟福集成环境下使用PICC.pdf10. HI-TECH PICC C的使用说明.pdf11. 非接触IC卡读写器的应用设计.pdf12. U盘IC1114的电路图和C语言源程序.zip13. 锂-离子线性电池充电控制器LTC1732及其应用.pdf14. MSP430仿真器(机)接口电路图-原理图.pdf15. 照明应用中的51LPC微控制器.pdf16. STM32TS60 数字电阻型多触摸屏控制方案.rar17. PL2303或PV8651USB转串口原理图.rar18. PCF8563 实时时钟日历芯片选型指南.pdf19. S3C2410内存管理单元MMU基础实验.rar20. USB2.0转IDE的电路图 (protel文件).rar21. TUSB3200中文资料pdf.pdf22. 单片机实用接口技术.rar23. 串行下载线的原理图-电路图.pdf24. 内置微处理器的USB音频接口芯片TUSB3200.pdf25. MCS-51系列单片机实用接口技术.rar26. 数据处理与控制策略.rar27. LPC932单片机可靠性设计方案.pdf28. 小车走迷宫设计.rar29. 过程通道与人机接口.rar30. 一种单片机实现的嵌入式视频切换器.pdf31. 温度传感器ds1820的汇编程序.pdf32. 3.3v看门狗芯片.pdf33. 交通灯控制板用户手册.rar34. 单片机开发中应掌握的几个基本技巧.pdf35. dsPIC30F看门狗定时器和低功耗模式.pdf36. 新版交通灯模组(包括PCB图、使用说明书和产品说明书).rar37. 51单片机浮点子程序库.pdf38. 工程师单片机学习经验技巧.rar39. 用单片机内置比较器设计高精度A/D变换器.pdf40. MCS-51并行口的扩展.ppt41. 模拟接口.ppt42. 存储器接口.ppt43. 单片机原理与应用教程.rar44. 中断技术.ppt45. winCE msdn讲座.zip46. MCS 51单片机内部并行口及应用.rar47. RD系列微型打印机打印实例.rar48. 接口技术概述.rar49. 微型打印机的C语言源程序.rar50. 汇编语言程序设计PPT.ppt51. 微型打印机与单片机接口.rar52. MCS-51系列单片机的结构和原理.rar53. 单片机的功率接口.rar54. Keil软件的使用.rar55. 51单片机应用实例及源代码.rar56. 汇编语言程序设计基础.PPT57. 单片机模糊逻辑控制.rar58. 小型键盘结构与接口.ppt59. DA与AD转换.ppt60. 微型计算机总线知识.ppt61. DMA与DMA控制器.ppt62. 微机原理及接口技术课件(教学).rar63. 8255A可编程并行接口.ppt64. 微机原理与汇编语言程序设计课件.rar65. VD108B地感线路安装图.pdf66. 8086总线操作、中断系统及总线请求.ppt67. 微机原理多媒体教材.rar68. RS-485的传输线如何合理屏蔽.pdf69. 8253计数器定时器结构与编程.ppt70. 子空间模式识别方法.pdf71. 单片机应用技术电子教案.rar72. 8251A可编程通信接口.ppt73. 语音编解码芯片MT8965在ALU中的应用.pdf74. Keil C51 使用技巧及实战.zip75. 微机接口技术试题.rar76. MCS-51单片机系统扩展技术.pdf77. 单片机课程总结.doc78. 微机接口技术精品课程.rar79. LCD为LCM161(HD44780驱动器)字符显示器驱动程.rar80. 用单片机设计发音电路.pdf81. 微机接口技术课件.rar82. LC7461遥控解码子程序源代码.rar83. 模块化LED大屏幕显示器的设计.pdf84. 微机原理与接口技术精品课程(课件).rar85. 红外遥控接收程序.pdf86. 微控制器( MCU) 破解秘笈之中文有删节版.pdf87. SAM88RCRI 指令集.pdf88. 单片机常用程序库.rar89. 微处理器指令集设计.ppt90. 基于单片机的频率计设计.pdf91. 单片机综合应用.rar92. 单片机多机并行通讯的一种方法.pdf93. pic单片机实用教程(提高篇).rar94. 单片机掉电保护设计.pdf95. pic单片机实用教程(基础篇).RAR96. 分时操作系统思想在单片机编程中的实现.pdf97. 80C51便携式产品中的低功耗设计.pdf98. 单片机最小系统电路.pdf99. avr studio 4.14下载.zip100. AVR高速嵌入式单片机原理与应用(修订版).rar

    标签: 1.1 电磁场 电磁波 视频教程

    上传时间: 2013-07-03

    上传用户:eeworm