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

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

h<b>DG</b>h

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

    源代碼\用動態(tài)規(guī)劃算法計算序列關(guān)系個數(shù) 用關(guān)系"<"和"="將3個數(shù)a,b,c依次序排列時,有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個數(shù)依序列,設(shè)計一個動態(tài)規(guī)劃算法,計算出有多少種不同的序列關(guān)系, 要求算法只占用O(n),只耗時O(n*n).

    標簽: lt 源代碼 動態(tài)規(guī)劃 序列

    上傳時間: 2013-12-26

    上傳用戶: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

    標簽: government streamline important alphabet

    上傳時間: 2015-06-09

    上傳用戶:weixiao99

  • 電力系統(tǒng)在臺穩(wěn)定計算式電力系統(tǒng)不正常運行方式的一種計算。它的任務(wù)是已知電力系統(tǒng)某一正常運行狀態(tài)和受到某種擾動

    電力系統(tǒng)在臺穩(wěn)定計算式電力系統(tǒng)不正常運行方式的一種計算。它的任務(wù)是已知電力系統(tǒng)某一正常運行狀態(tài)和受到某種擾動,計算電力系統(tǒng)所有發(fā)電機能否同步運行 1運行說明: 請輸入初始功率S0,形如a+bi 請輸入無限大系統(tǒng)母線電壓V0 請輸入系統(tǒng)等值電抗矩陣B 矩陣B有以下元素組成的行矩陣 1正常運行時的系統(tǒng)直軸等值電抗Xd 2故障運行時的系統(tǒng)直軸等值電抗X d 3故障切除后的系統(tǒng)直軸等值電抗 請輸入慣性時間常數(shù)Tj 請輸入時段數(shù)N 請輸入哪個時段發(fā)生故障Ni 請輸入每時段間隔的時間dt

    標簽: 電力系統(tǒng) 計算 運行

    上傳時間: 2015-06-13

    上傳用戶:it男一枚

  • 本驅(qū)動程序在linux2.6.17中測試通過。yangxing msn:lelma_yx@hotmail.com 希望對SPI操作的朋友有所幫助。 一、工作方式: 從設(shè)備:SPI為MASTE

    本驅(qū)動程序在linux2.6.17中測試通過。yangxing msn:lelma_yx@hotmail.com 希望對SPI操作的朋友有所幫助。 一、工作方式: 從設(shè)備:SPI為MASTER模式 S3C2410:SPI為SLAVE模式+DMA 二、工作流程 1.S3C2410從接收:當(dāng)從設(shè)備發(fā)送數(shù)據(jù)時,S3C2410利用DMA方式收數(shù),收到指定長度的數(shù)據(jù),則進入DMA中斷,將接收的數(shù)據(jù)拷出。 2.S3C2410從發(fā)送:當(dāng)S3C2410需要發(fā)送,首先由RTS請求發(fā)送,然后等待從設(shè)備應(yīng)答CTS,當(dāng)從設(shè)備應(yīng)答CTS時,進入外部中斷,啟動DMA發(fā)送,發(fā)送完成,再次進入從接收狀態(tài)。 三、文件位置 spi_dma_slave.c spi_dma_slave.h circular_buf.c circular_buf.h 等文件存放入driver/char/目錄 dma.c存放于arch/arm/mach-s3c2410/目錄 dma.h存放于include/arm-asm/mach-s3c2410/目錄 四、使用環(huán)境 1.arm-linux-gcc-3.4.1

    標簽: SPI lelma_yx yangxing hotmail

    上傳時間: 2015-08-11

    上傳用戶:徐孺

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

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

    標簽: Context-Free Grammar CFG

    上傳時間: 2013-12-10

    上傳用戶:gaojiao1999

  • VC 中音樂最完美的實現(xiàn) 想在程序中播放mp3

    VC 中音樂最完美的實現(xiàn) 想在程序中播放mp3,wma,wav等所有格式的音樂文件嗎?網(wǎng)上這樣的介紹真是少!!這是一個封裝了音樂的各種操作,比如音量調(diào)節(jié),進度調(diào)節(jié),的類。包 含兩個類,CMusic,CSound。分別在文件music.h,music.cpp,sound.h,sound.cpp。

    標簽: mp3 VC 美的 程序

    上傳時間: 2014-08-12

    上傳用戶:xiaohuanhuan

  • 完成一個FIR數(shù)字濾波器的設(shè)計。要求: 1、 基于直接型和分布式兩種算法。 2、 輸入數(shù)據(jù)寬度為8位

    完成一個FIR數(shù)字濾波器的設(shè)計。要求: 1、 基于直接型和分布式兩種算法。 2、 輸入數(shù)據(jù)寬度為8位,輸出數(shù)據(jù)寬度為16位。 3、 濾波器的階數(shù)為16階,抽頭系數(shù)分別為h[0]=h[15]=0000,h[1]=h[14]=0065,h[2]=h[13]=018F,h[3]=h[12]=035A,h[4]=h[11]=0579,h[5]=h[10]=078E,h[6]=h[9]=0935,h[7]=h[8]=0A1F。

    標簽: FIR 8位 數(shù)字濾波器 分布式

    上傳時間: 2013-11-28

    上傳用戶:duoshen1989

  • 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

  • 數(shù)據(jù)結(jié)構(gòu)(嚴慰敏)配套純c代碼實驗十 typedef int InfoType // 定義其它數(shù)據(jù)項的類型 typedef int KeyType // 定義RedType類型的關(guān)鍵字為整型

    數(shù)據(jù)結(jié)構(gòu)(嚴慰敏)配套純c代碼實驗十 typedef int InfoType // 定義其它數(shù)據(jù)項的類型 typedef int KeyType // 定義RedType類型的關(guān)鍵字為整型 struct RedType // 記錄類型(同c10-1.h) { KeyType key // 關(guān)鍵字項 InfoType otherinfo // 其它數(shù)據(jù)項 } typedef char KeysType // 定義關(guān)鍵字類型為字符型 #include"c1.h" #include"c10-3.h" void InitList(SLList &L,RedType D[],int n) { // 初始化靜態(tài)鏈表L(把數(shù)組D中的數(shù)據(jù)存于L中) char c[MAX_NUM_OF_KEY],c1[MAX_NUM_OF_KEY] int i,j,max=D[0].key //

    標簽: typedef int InfoType KeyType

    上傳時間: 2016-03-03

    上傳用戶:2404

主站蜘蛛池模板: 永平县| 高台县| 江西省| 马关县| 泰和县| 苍梧县| 宾川县| 青田县| 大渡口区| 乐昌市| 宜兴市| 百色市| 绥芬河市| 新丰县| 潮州市| 株洲市| 思南县| 昌都县| 泾源县| 裕民县| 睢宁县| 应用必备| 涿州市| 哈巴河县| 贞丰县| 漾濞| 平顶山市| 寻甸| 东明县| 泊头市| 镇原县| 大石桥市| 晋宁县| 庐江县| 思南县| 贺兰县| 澎湖县| 忻州市| 泰兴市| 舒城县| 同江市|