亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲(chóng)蟲(chóng)首頁(yè)| 資源下載| 資源專(zhuān)輯| 精品軟件
登錄| 注冊(cè)

ST<b>M3</b>2

  • 源代碼用動(dòng)態(tài)規(guī)劃算法計(jì)算序列關(guān)系個(gè)數(shù) 用關(guān)系"<"和"="將3個(gè)數(shù)a

    源代碼\用動(dòng)態(tài)規(guī)劃算法計(jì)算序列關(guān)系個(gè)數(shù) 用關(guān)系"<"和"="將3個(gè)數(shù)a,b,c依次序排列時(shí),有13種不同的序列關(guān)系: a=b=c,a=b<c,a<b=v,a<b<c,a<c<b a=c<b,b<a=c,b<a<c,b<c<a,b=c<a c<a=b,c<a<b,c<b<a 若要將n個(gè)數(shù)依序列,設(shè)計(jì)一個(gè)動(dòng)態(tài)規(guī)劃算法,計(jì)算出有多少種不同的序列關(guān)系, 要求算法只占用O(n),只耗時(shí)O(n*n).

    標(biāo)簽: lt 源代碼 動(dòng)態(tài)規(guī)劃 序列

    上傳時(shí)間: 2013-12-26

    上傳用戶(hù):siguazgb

  • 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

    標(biāo)簽: government streamline important alphabet

    上傳時(shí)間: 2015-06-09

    上傳用戶(hù):weixiao99

  • 上下文無(wú)關(guān)文法(Context-Free Grammar, CFG)是一個(gè)4元組G=(V, T, S, P)

    上下文無(wú)關(guān)文法(Context-Free Grammar, CFG)是一個(gè)4元組G=(V, T, S, P),其中,V和T是不相交的有限集,S∈V,P是一組有限的產(chǎn)生式規(guī)則集,形如A→α,其中A∈V,且α∈(V∪T)*。V的元素稱(chēng)為非終結(jié)符,T的元素稱(chēng)為終結(jié)符,S是一個(gè)特殊的非終結(jié)符,稱(chēng)為文法開(kāi)始符。 設(shè)G=(V, T, S, P)是一個(gè)CFG,則G產(chǎn)生的語(yǔ)言是所有可由G產(chǎn)生的字符串組成的集合,即L(G)={x∈T* | Sx}。一個(gè)語(yǔ)言L是上下文無(wú)關(guān)語(yǔ)言(Context-Free Language, CFL),當(dāng)且僅當(dāng)存在一個(gè)CFG G,使得L=L(G)。 *⇒ 例如,設(shè)文法G:S→AB A→aA|a B→bB|b 則L(G)={a^nb^m | n,m>=1} 其中非終結(jié)符都是大寫(xiě)字母,開(kāi)始符都是S,終結(jié)符都是小寫(xiě)字母。

    標(biāo)簽: Context-Free Grammar CFG

    上傳時(shí)間: 2013-12-10

    上傳用戶(hù):gaojiao1999

  • 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.

    標(biāo)簽: represented integers group items

    上傳時(shí)間: 2016-01-17

    上傳用戶(hù):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).

    標(biāo)簽: converts Toolbox complex logical

    上傳時(shí)間: 2016-02-12

    上傳用戶(hù):a673761058

  • 離散實(shí)驗(yàn) 一個(gè)包的傳遞 用warshall

     實(shí)驗(yàn)源代碼 //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("請(qǐng)輸入矩陣第%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("可傳遞閉包關(guān)系矩陣是:\n"); for(i=0;i<k;i++) { for( j=0;j<n;j++) { printf("%d", temp[i][ j]); } printf("\n"); } } void main() { printf("利用 Warshall 算法求二元關(guān)系的可傳遞閉包\n"); void warshall(int,int); int k , n; printf("請(qǐng)輸入矩陣的行數(shù) i: "); scanf("%d",&k); 四川大學(xué)實(shí)驗(yàn)報(bào)告 printf("請(qǐng)輸入矩陣的列數(shù) j: "); scanf("%d",&n); warshall(k,n); } 

    標(biāo)簽: warshall 離散 實(shí)驗(yàn)

    上傳時(shí)間: 2016-06-27

    上傳用戶(hù):梁雪文以

  • 道理特分解法

    #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<<"正在析構(gòu)中~~~~"<<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<<"請(qǐng)輸入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<<"請(qǐng)輸入b:"<<endl; for(int j=0;j<size;j++){ cout<<"第"<<j+1<<"個(gè):"<<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<<"計(jì)算U得:"<<endl; U.Disp(); cout<<"計(jì)算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; } 

    標(biāo)簽: 道理特分解法

    上傳時(shí)間: 2018-05-20

    上傳用戶(hù):Aa123456789

  • VIP專(zhuān)區(qū)-嵌入式/單片機(jī)編程源碼精選合集系列(137)

    VIP專(zhuān)區(qū)-嵌入式/單片機(jī)編程源碼精選合集系列(137)資源包含以下內(nèi)容:1. 可以從字庫(kù)中提取中文字的字模點(diǎn)陣信息,可分為12X12、14X14、16X16、24X24.2. ST Flash loader的2次開(kāi)發(fā)接口源碼.3. C8051 IC SPEC資料,相信對(duì)于大家有幫助..4. SmartARM2214開(kāi)發(fā)板原理圖.5. 關(guān)于spi的接口程序.6. arm嵌入式應(yīng)用.7. 介紹PCB中的走線粗細(xì)與電流大小的關(guān)系..8. RC500讀寫(xiě)源程序5[1].6.9. Spanion的關(guān)于NAND Flash的ECC算法的簡(jiǎn)單比較.10. ecos cvs version lwip-tcpip nat addon patch..11. Embeded Software Development With eCos eCos必備之書(shū).12. ZLG_GUI在uC_OS的使用.13. 看到的比較全面的Eclipse教程.14. TI TMS320C5509A開(kāi)發(fā)板原理圖.15. 智能車(chē)開(kāi)發(fā)板的原理圖.16. fat文件系統(tǒng)的源碼 老外寫(xiě)的FAT32文件系統(tǒng) 還是有用的.17. 本文件系統(tǒng)實(shí)現(xiàn)的一個(gè)類(lèi)似于DOS/WINDOWS的文件管理系統(tǒng).18. Atmega128單片機(jī)的LCD顯示 開(kāi)發(fā)環(huán)境ICCAVR.19. 基于ZigBee通訊協(xié)議的設(shè)計(jì)與實(shí)現(xiàn).20. 嵌入式三星2410板子上實(shí)現(xiàn)通信服務(wù)。共分為接收端和發(fā)送端兩部分.21. 此程序是在blackfin下實(shí)在的ide硬盤(pán)的程序.22. GSM短信LED條屏控制板,STC單片機(jī)+29C040+62256.23. ST7920 控制器系列中文圖形液晶模塊顯示程序(C語(yǔ)言).24. 普林斯頓大學(xué)的本科嵌入式系統(tǒng)設(shè)計(jì)的講義。講述覆蓋了嵌入式設(shè)計(jì)的各個(gè)方面.25. P437_軍用軟件開(kāi)發(fā)規(guī)范 P437_軍用軟件開(kāi)發(fā)規(guī)范.26. wince 啟動(dòng)時(shí) 自動(dòng)加載 SD卡 應(yīng)用程序.27. ,2006altera大賽-基于軟核Nios的寬譜正弦信號(hào)發(fā)生器設(shè)計(jì):摘要:本設(shè)計(jì)運(yùn)用了基于 Nios II 嵌入式處理器的 SOPC 技.28. 支持s3c4510的bios。感覺(jué)其實(shí)現(xiàn)的方式還是比較巧妙的。而且網(wǎng)上還有對(duì)該源碼的學(xué)習(xí)日志。很是有利于大家學(xué)習(xí).29. 基于Nuleus操作系統(tǒng)和s3c4510的編寫(xiě)的EFC。已經(jīng)包含了該EFC的設(shè)計(jì)說(shuō)明。這是個(gè)實(shí)際產(chǎn)品的代碼.30. CPLD驅(qū)動(dòng)顯示器的VGA口.31. 基于MFRC500讀卡芯片的完整讀卡程序.32. i2c introductions.33. 此文件為zigbee2006協(xié)議棧源碼.34. 基于QT60xx0的I2C接口開(kāi)發(fā).35. STM32F10xxx USB開(kāi)發(fā)者套件.36. 關(guān)于臺(tái)灣研華遠(yuǎn)程以太網(wǎng)模塊上位機(jī)控制源代碼.37. 關(guān)于臺(tái)灣研華遠(yuǎn)程以太網(wǎng)模塊上位機(jī)控制源代碼.38. 關(guān)于臺(tái)灣研華遠(yuǎn)程以太網(wǎng)模塊上位機(jī)控制源代碼.39. 關(guān)于臺(tái)灣研華遠(yuǎn)程以太網(wǎng)模塊上位機(jī)控制源代碼.40. 關(guān)于臺(tái)灣研華遠(yuǎn)程以太網(wǎng)模塊上位機(jī)控制源代碼.

    標(biāo)簽: Demonstrator Release USB HID

    上傳時(shí)間: 2013-04-15

    上傳用戶(hù):eeworm

  • 21世紀(jì)大學(xué)新型參考教材系列-集成電路B-荒井-159頁(yè)-2.8M.pdf

    專(zhuān)輯類(lèi)-電子基礎(chǔ)類(lèi)專(zhuān)輯-153冊(cè)-2.20G 21世紀(jì)大學(xué)新型參考教材系列-集成電路B-荒井-159頁(yè)-2.8M.pdf

    標(biāo)簽: 159 2.8 大學(xué)

    上傳時(shí)間: 2013-05-16

    上傳用戶(hù):pkkkkp

  • realview mdk 3.2 下載

    1.增加的設(shè)備支持: Atmel AT91SAM9Rxx Cirrus Logic CS7401xx-IQZ Luminary Micro LM3S576x, LM3S5752, LM3S5747, LM3S573x, LM3S5662, LM3S5652, LM3S5632, LM3S3759, LM3S3749, and LM3S3739 NXP LPC32XX and LPC2460 STMicroelectronics STR912FAZ4X, STR912FAW4X, STR911FAW4X, STR911FAM4X, STR910FAW32, and STR910FAZ32 2.修改了NXP LPC23XX/24XX的頭文件庫(kù) 3.增加了ST-LINK II的調(diào)試支持 4.增加了對(duì)Cortex-M3 內(nèi)核芯片的RTX Event Viewer 的支持 5.增加了MCBSTM32: STM32 FLASH OPTION BYTES PROGRAMMING 6.增加了ULINK2對(duì)Cortex-M3的SWV功能的調(diào)試 7.增強(qiáng)了使用GNU在MDK下調(diào)試M1,M3,ARM7,ARM9的調(diào)試功能( Using μVision with CodeSourcery GNU ARM Toolchain.) 8.增加了大量經(jīng)典開(kāi)發(fā)板例程 Boards目錄列表: ├─Embest 深圳市英蓓特公司開(kāi)發(fā)板例程 │ ├─AT91EB40X-40008 │ ├─S3CEB2410 │ ├─ATEBSAM7S │ ├─LPC22EB06-I │ ├─LPCEB2000-A │ ├─LPCEB2000-B │ ├─LPCEB2000-S │ ├─str710 │ ├─str711 │ ├─str730 │ ├─str750 │ ├─STR912 │ ├─STM32V100 │ ├─STM32R100 │ ├─ATEB9200 ├─ADI ADI半導(dǎo)體的芯片例程 │ ├─ADuC702X │ └─ADuC712x ├─Atmel Atmel半導(dǎo)體的芯片例程 │ ├─AT91RM9200-EK │ ├─AT91SAM7A3-EK │ ├─AT91SAM7S-EK │ ├─AT91SAM7SE-EK │ ├─AT91SAM7X-EK │ ├─AT91SAM9260-EK │ ├─AT91SAM9261-EK │ ├─AT91SAM9263-EK ├─Keil Keil公司的開(kāi)發(fā)板例程 │ ├─MCB2100 │ ├─MCB2103 │ ├─MCB2130 │ ├─MCB2140 │ ├─MCB2300 │ ├─MCB2400 │ ├─MCB2900 │ ├─MCBLM3S │ ├─MCBSTM32 │ ├─MCBSTR7 │ ├─MCBSTR730 │ ├─MCBSTR750 │ └─MCBSTR9 ├─Luminary Luminary半導(dǎo)體公司的芯片例程 │ ├─ek-lm3s1968 │ ├─ek-lm3s3748 │ ├─ek-lm3s3768 │ ├─dk-lm3s101 │ ├─dk-lm3s102 │ ├─dk-lm3s301 │ ├─dk-lm3s801 │ ├─dk-lm3s811 │ ├─dk-lm3s815 │ ├─dk-lm3s817 │ ├─dk-lm3s818 │ ├─dk-lm3s828 │ ├─ek-lm3s2965 │ ├─ek-lm3s6965 │ ├─ek-lm3s811 │ └─ek-lm3s8962 ├─NXP NXP半導(dǎo)體公司的芯片例程 │ ├─LH79524 │ ├─LH7A404 │ └─SJA2510 ├─OKI OKI半導(dǎo)體公司的芯片例程 │ ├─ML674000 │ ├─ML67Q4003 │ ├─ML67Q4051 │ ├─ML67Q4061 │ ├─ML67Q5003 │ └─ML69Q6203 ├─Samsung Samsung半導(dǎo)體公司的芯片例程 │ ├─S3C2440 │ ├─S3C44001 │ └─S3F4A0K ├─ST ST半導(dǎo)體公司的芯片例程 │ ├─CQ-STARM2 │ ├─EK-STM32F │ ├─STM32F10X_EVAL │ ├─STR710 │ ├─STR730 │ ├─STR750 │ ├─STR910 │ └─STR9_DONGLE ├─TI TI半導(dǎo)體公司的芯片例程 │ ├─TMS470R1A256 │ └─TMS470R1B1M ├─Winbond Winbond半導(dǎo)體公司的芯片例程 │ └─W90P710 └─ ...

    標(biāo)簽: realview mdk 3.2

    上傳時(shí)間: 2013-10-13

    上傳用戶(hù):zhangliming420

主站蜘蛛池模板: 虹口区| 巨鹿县| 民权县| 团风县| 工布江达县| 靖边县| 全南县| 浏阳市| 彰化市| 黄龙县| 湾仔区| 涞水县| 香格里拉县| 东丽区| 北海市| 临颍县| 万载县| 前郭尔| 三门县| 石景山区| 高密市| 额敏县| 绿春县| 扬中市| 华容县| 澜沧| 舟曲县| 大兴区| 酒泉市| 吴川市| 昭平县| 沈阳市| 新沂市| 锡林浩特市| 莱州市| 天峨县| 运城市| 武平县| 平山县| 万荣县| 农安县|