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

a-Channel-<b>modELing</b>-Subcommittee-R

  • The government of a small but important country has decided that the alphabet needs to be streamline

    The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition

    标签: government streamline important alphabet

    上传时间: 2015-06-09

    上传用户:weixiao99

  • 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

  • 加密程序源代码* A 变成 C

    加密程序源代码* A 变成 C,B 变成 D,a 变成 c,b 变成 d,Y 变成 A, * z 变成 b,以此类推。非字母字符不变。

    标签: 加密 程序 源代码

    上传时间: 2013-12-28

    上传用户:stvnash

  • 华恒科技 HHCF5249-R3 技术手册 第一章 产品简介 第二章 软件系统 第三章 硬件系统 第四章 机械特性 第五章 底板的硬件设计 第六章 售后服务及技术支持 附录 附录A 初

    华恒科技 HHCF5249-R3 技术手册 第一章 产品简介 第二章 软件系统 第三章 硬件系统 第四章 机械特性 第五章 底板的硬件设计 第六章 售后服务及技术支持 附录 附录A 初始化 附录B LINUX 常见术语 附录C 常用LINUX 命令 附录D GCC 与GDB 附录E MAKEFILE 附录F UCLINUX 系统分析 uClinux 简介 uClinux 小型化的做法 uClinux 的开发环境 uClinux 的内存管理 工具及内核 附录G 图形界面(GUI)接口函数API 附录H 参考资料

    标签: HHCF 5249 华恒科技 产品简介

    上传时间: 2013-12-24

    上传用户:a6697238

  • 【问题描述】 在一个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

  • 开源路由器的研究

    本论文研究了开源路由器的实现方法,通过具体的实验在X O R P 上实现了R I P , O S P F , B G P 等一系列协议,在P A C K E T T R A C E R 上进行了仿真,并对开源路由器进行了性能评价。

    标签: 开源路由器

    上传时间: 2015-02-21

    上传用户:13666909595

  • 开源路由器的实现方法

    本论文研究了开源路由器的实现方法,通过具体的实验在X O R P 上实现了R I P , O S P F , B G P 等一系列协议,在P A C K E T T R A C E R 上进行了仿真,并对开源路由器进行了性能评价。

    标签: 开源路由器

    上传时间: 2015-02-21

    上传用户:13666909595

  • 道理特分解法

    #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

  • DHT11 MIC SHT11 VS1838B CHT8305 MQ-3 温湿度气体等传感器元件A

    DHT11 MIC SHT11 VS1838B  CHT8305 MQ-3 温湿度气体等传感器元件Altium封装库三维视图PCB封装库(3D封装库),PcbLibb后缀文件,封装列表如下:Component Count : 32Component Name-----------------------------------------------AHT10CHT8305DHT11DHT11 - duplicateGP1A52HRGP1A53HRI-LED-3MMI-LED-5MMMIC-4.5*1.9MIC-6*5.5mmMIC0622DIPMLX90614MQ-3MS5611OPT-3MMOPT-5MMRG5528ROC16S58SHT1X-8PSHT2XSHT3x-ARPSHT3x-DISST188TO-18TO-39TO-66TO-356VS1838B-AVS1838B-A_HVS1838B-BVS1838B-B_H

    标签: dht11 温湿度传感器 气体传感器

    上传时间: 2021-12-21

    上传用户:shjgzh

  • 射频与微波功率放大器设计.rar

    本书主要阐述设计射频与微波功率放大器所需的理论、方法、设计技巧,以及将分析计算与计算机辅助设计相结合的优化设计方法。这些方法提高了设计效率,缩短了设计周期。本书内容覆盖非线性电路设计方法、非线性主动设备建模、阻抗匹配、功率合成器、阻抗变换器、定向耦合器、高效率的功率放大器设计、宽带功率放大器及通信系统中的功率放大器设计。  本书适合从事射频与微波动功率放大器设计的工程师、研究人员及高校相关专业的师生阅读。 作者简介 Andrei Grebennikov是M/A—COM TYCO电子部门首席理论设计工程师,他曾经任教于澳大利亚Linz大学、新加坡微电子学院、莫斯科通信和信息技术大学。他目前正在讲授研究班课程,在该班上,本书作为国际微波年会论文集。 目录 第1章 双口网络参数  1.1 传统的网络参数  1.2 散射参数  1.3 双口网络参数间转换  1.4 双口网络的互相连接  1.5 实际的双口电路   1.5.1 单元件网络   1.5.2 π形和T形网络  1.6 具有公共端口的三口网络  1.7 传输线  参考文献 第2章 非线性电路设计方法  2.1 频域分析   2.1.1 三角恒等式法   2.1.2 分段线性近似法   2.1.3 贝塞尔函数法  2.2 时域分析  2.3 NewtOn.Raphscm算法  2.4 准线性法  2.5 谐波平衡法  参考文献 第3章 非线性有源器件模型  3.1 功率MOSFET管   3.1.1 小信号等效电路   3.1.2 等效电路元件的确定   3.1.3 非线性I—V模型   3.1.4 非线性C.V模型   3.1.5 电荷守恒   3.1.6 栅一源电阻   3.1.7 温度依赖性  3.2 GaAs MESFET和HEMT管   3.2.1 小信号等效电路   3.2.2 等效电路元件的确定   3.2.3 CIJrtice平方非线性模型   3.2.4 Curtice.Ettenberg立方非线性模型   3.2.5 Materka—Kacprzak非线性模型   3.2.6 Raytheon(Statz等)非线性模型   3.2.7 rrriQuint非线性模型   3.2.8 Chalmers(Angek)v)非线性模型   3.2.9 IAF(Bemth)非线性模型   3.2.10 模型选择  3.3 BJT和HBT汀管   3.3.1 小信号等效电路   3.3.2 等效电路中元件的确定   3.3.3 本征z形电路与T形电路拓扑之间的等效互换   3.3.4 非线性双极器件模型  参考文献 第4章 阻抗匹配  4.1 主要原理  4.2 Smith圆图  4.3 集中参数的匹配   4.3.1 双极UHF功率放大器   4.3.2 M0SFET VHF高功率放大器  4.4 使用传输线匹配   4.4.1 窄带功率放大器设计   4.4.2 宽带高功率放大器设计  4.5 传输线类型   4.5.1 同轴线   4.5.2 带状线   4.5.3 微带线   4.5.4 槽线   4.5.5 共面波导  参考文献 第5章 功率合成器、阻抗变换器和定向耦合器  5.1 基本特性  5.2 三口网络  5.3 四口网络  5.4 同轴电缆变换器和合成器  5.5 wilkinson功率分配器  5.6 微波混合桥  5.7 耦合线定向耦合器  参考文献 第6章 功率放大器设计基础  6.1 主要特性  6.2 增益和稳定性  6.3 稳定电路技术   6.3.1 BJT潜在不稳定的频域   6.3.2 MOSFET潜在不稳定的频域   6.3.3 一些稳定电路的例子  6.4 线性度  6.5 基本的工作类别:A、AB、B和C类  6.6 直流偏置  6.7 推挽放大器  6.8 RF和微波功率放大器的实际外形  参考文献 第7章 高效率功率放大器设计  7.1 B类过激励  7.2 F类电路设计  7.3 逆F类  7.4 具有并联电容的E类  7.5 具有并联电路的E类  7.6 具有传输线的E类  7.7 宽带E类电路设计  7.8 实际的高效率RF和微波功率放大器  参考文献 第8章 宽带功率放大器  8.1 Bode—Fan0准则  8.2 具有集中元件的匹配网络  8.3 使用混合集中和分布元件的匹配网络  8.4 具有传输线的匹配网络    8.5 有耗匹配网络  8.6 实际设计一瞥  参考文献 第9章 通信系统中的功率放大器设计  9.1 Kahn包络分离和恢复技术  9.2 包络跟踪  9.3 异相功率放大器  9.4 Doherty功率放大器方案  9.5 开关模式和双途径功率放大器  9.6 前馈线性化技术  9.7 预失真线性化技术  9.8 手持机应用的单片cMOS和HBT功率放大器  参考文献

    标签: 射频 微波功率 放大器设计

    上传时间: 2013-04-24

    上传用户:W51631