Visual 開發 希望對你們有幫助 public static int Rom(int n, int m)//雙寄或雙偶 { int count = 0 //第一排Y坐標上要幾個 if (n < m) { for (int i = 1 i <= n i = i + 2) { count++ } } else { for (int j = 1 j <= m j = j + 2) { count++ } } return count }
上傳時間: 2013-12-13
上傳用戶:懶龍1988
:介紹 CAN(控制器局域 網)總線的特點 ,給 出CAN總線系統智能節點電路原理及 用 C51語言 編寫的開發程序,方便使用者學.-j-和掌握。
上傳時間: 2017-01-26
上傳用戶:youmo81
遙控解碼通過電腦串口顯示 /* 晶振:11.0569MHz */ #include <REGX52.h> #define uchar unsigned char uchar data IRcode[4] //定義一個4字節的數組用來存儲代碼 uchar CodeTemp //編碼字節緩存變量 uchar i,j,k //延時用的循環變量 sbit IRsignal=P3^2 //HS0038接收頭OUT端直接連P3.2(INT0) /**************************延時0.9ms子程序**********************/ void Delay0_9ms(void) {uchar j,k for(j=18 j>0 j--) for(k=20 k>0 k--) } /***************************延時1ms子程序**********************/ void Delay1ms(void) {uchar i,j for(i=2 i>0 i--) for(j=230 j>0 j--) }
標簽: uchar unsigned 11.0569 include
上傳時間: 2013-12-12
上傳用戶:Breathe0125
:#include <stdlib.h>#include <stdio.h>#include <time.h> void InsertSort(int a[],int *(k1),int *(k2))//0:直接插入排序{ int i,j int temp *(k1)=0 *(k2)=0 for(i=0 i<149 i++) { temp=a[i+1] *(k2)++ ...
標簽: include InsertSort gt lt
上傳時間: 2014-11-30
上傳用戶:362279997
很經典的一個算法。大家做工程和通信用的著。遺傳算法(Genetic Algorithm)是模擬達爾文的遺傳選擇和自然淘汰的生物進化過程的計算模型,是一種通過模擬自然進化過程搜索最優解的方法,它是有美國Michigan大學J.Holland教授于1975年首先提出來的,并出版了頗有影響的專著《Adaptation in Natural and Artificial Systems》,GA這個名稱才逐漸為人所知,J.Holland教授所提出的GA通常為簡單遺傳算法(SGA)。
上傳時間: 2017-02-09
上傳用戶:wkchong
學習javascript的好資料! 第一講 JavaScript語言概況 第二講 JavaScript基本數據結構 第三講 JavaScript程序構成 第四講 基于對象的JavaScript語言 第五講 創建新對象 第六講 使用內部對象系統 第七講 窗口及輸入輸出 第八講 WEB頁面信息交互 第九講 實現更復雜交互
標簽: JavaScript javascript 語言 數據結構
上傳時間: 2014-01-06
上傳用戶:努力努力再努力
EE小站,詳細介紹,J-Link GDB Server + Eclipse CDT進行ARM程序調試
標簽:
上傳時間: 2017-02-16
上傳用戶:heart520beat
Instead of finding the longest common subsequence, let us try to determine the length of the LCS. Then tracking back to find the LCS. Consider a1a2…am and b1b2…bn. Case 1: am=bn. The LCS must contain am, we have to find the LCS of a1a2…am-1 and b1b2…bn-1. Case 2: am≠bn. Wehave to find the LCS of a1a2…am-1 and b1b2…bn, and a1a2…am and b b b b1b2…bn-1 Let A = a1 a2 … am and B = b1 b2 … bn Let Li j denote the length of the longest i,g g common subsequence of a1 a2 … ai and b1 b2 … bj. Li,j = Li-1,j-1 + 1 if ai=bj max{ L L } a≠b i-1,j, i,j-1 if ai≠j L0,0 = L0,j = Li,0 = 0 for 1≤i≤m, 1≤j≤n.
標簽: the subsequence determine Instead
上傳時間: 2013-12-17
上傳用戶:evil
//--- --- --- - 音樂簡譜播放器--- --- --- - /*奏樂程序使用說明 調用方式: sing fname [speed [times]] 文件名 速度(拍/分) 遍數 簡譜文件格式: 第1行: 曲名 節拍 調號 第2行-- 樂譜 (空格,換行無意義,但不得插在一個"音描述"內部) 記號: * 節拍,調號,小節分隔符,終止符,升音符,中音音高,休止符,附點,延長 符等 -- 按照常規. * 音描述 -- [3連音符][升降還原符]音高[高低音后綴][音長][附點][延長符] * 3連音符 -- ^ 只標在第1音前,音長只標在第3音后 (3連音的實際總音長為所標音長的兩倍,例如:^323 的總音長為1拍) * 降音符 -- @ * 還原符 -- $ * 高低音后綴 -- H(高音) U(高16度音) 連用音程相加 L(低音) W(低16度音) * 音長 -- 無(1拍) (1/2拍) "(1/4拍) 連用為相乘*/
上傳時間: 2014-11-28
上傳用戶:hj_18
數據結構與程序設計——C++語言描述(影印版)習題的答案 【作 者】Robert L.Kruse,Alexander J.Ryba
上傳時間: 2017-03-04
上傳用戶:lgnf