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

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

生產(chǎn)(chǎn)技術(shù)(shù)

  • 約瑟夫問題 約瑟夫問題: 有n個人圍成一圈

    約瑟夫問題 約瑟夫問題: 有n個人圍成一圈,順序排號,從第一個開始報數(shù),報到m者退出圈子,由下一個人從新開始報數(shù),問最后六下的是幾號? 要求:1.n為固定的10 2.用數(shù)組實現(xiàn) 3.m由鍵盤輸入

    標簽:

    上傳時間: 2013-12-25

    上傳用戶:sz_hjbf

  • Linux 2.4.18 s3c2440 led driver 使用dev-C++撰寫

    Linux 2.4.18 s3c2440 led driver 使用dev-C++撰寫,需要linux 2.4.18 kernel include,編譯完成後產(chǎn)生led module。 insmod main.o //安裝模組 mknod /dev/leds c 221 0 使用方法: int main(int argc, char *argv[]) { int testdev //led test... testdev = open("/dev/QuickMarkLed",O_RDWR) ioctl(testdev, 2, 1) //ioctl(device, led number, open/close) open=1 ioctl(testdev, argv[1][0]- 0 , argv[2][0]- 0 ) //ioctl(device, led number, open/close) open=1 close(testdev) return 0 }

    標簽: s3c2440 driver Linux dev-C

    上傳時間: 2014-01-01

    上傳用戶:qlpqlq

  • 包括一個函數(shù)OnesCount,可計算從1至N的所有自然數(shù)中出現(xiàn)過的"1"的個數(shù). 主程序輸出出從1到1234567890中所有滿足N=OnesCount(N)的數(shù)N

    包括一個函數(shù)OnesCount,可計算從1至N的所有自然數(shù)中出現(xiàn)過的"1"的個數(shù). 主程序輸出出從1到1234567890中所有滿足N=OnesCount(N)的數(shù)N

    標簽: OnesCount 1234567890 函數(shù) 計算

    上傳時間: 2014-11-10

    上傳用戶:qwe1234

  • 與 奇數(shù)魔術(shù)方陣 相同

    與 奇數(shù)魔術(shù)方陣 相同,在於求各行、各列與各對角線的和相等,而這次方陣的維度是4的倍數(shù)。

    標簽:

    上傳時間: 2013-12-18

    上傳用戶:shus521

  • 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

  • 圓排列問題 圓排列問題 « 問題描述: n個半徑不等的圓緊密排成一行

    圓排列問題 圓排列問題 « 問題描述: n個半徑不等的圓緊密排成一行,設(shè)計一個算法,使得這n個圓所排的長度最短。 « 編程任務(wù): 對于給定的n和圓半徑a[1:n],輸出一個最優(yōu)的圓排列方案。 方法:回溯法

    標簽: laquo 半徑

    上傳時間: 2016-01-18

    上傳用戶:onewq

  • 問題描述 給定n個矩陣A1

    問題描述 給定n個矩陣A1,A2,…,An,其中,Ai與Aj+1是可乘的,i=1,2,…,n-1。 你的任務(wù)是要確定矩陣連乘的運算次序,使計算這n個矩陣的連乘積A1A2…An時總的元素乘法次數(shù)達到最少。 例如:3個矩陣A1,A2,A3,階分別為10×100、100×5、5×50,計算連乘積A1A2A3時按(A1A2)A3所需的元素乘法次數(shù)達到最少,為7500次。

    標簽: 矩陣

    上傳時間: 2013-12-20

    上傳用戶:banyou

  • 問題描述 在n個銀幣中有一個是不合格的

    問題描述 在n個銀幣中有一個是不合格的,不合格的銀幣比合格銀幣要輕。 現(xiàn)用天平秤銀幣,找出不合格的銀幣,且在最壞情況下秤銀幣的次數(shù)最少。

    標簽:

    上傳時間: 2014-07-21

    上傳用戶:小草123

  • 用FFT分別計算Xa(n) (p=8, q=2)與Xb(n) (a =0.1,f =0.0625)的16點循環(huán)卷積和線性卷積。

    用FFT分別計算Xa(n) (p=8, q=2)與Xb(n) (a =0.1,f =0.0625)的16點循環(huán)卷積和線性卷積。

    標簽: 0.0625 FFT 0.1 Xa

    上傳時間: 2013-12-09

    上傳用戶:lizhizheng88

  • 產(chǎn)生一512點的隨機序列下Xe(n),并用Xc(n) 和Xe(n) 作線性卷積

    產(chǎn)生一512點的隨機序列下Xe(n),并用Xc(n) 和Xe(n) 作線性卷積,觀察卷積前后Xe(n) 頻譜的變化。要求將Xe(n)分成8段,采用重疊相加法。

    標簽: Xe 512 Xc 隨機序列

    上傳時間: 2014-06-18

    上傳用戶:hebmuljb

主站蜘蛛池模板: 镇江市| 钟山县| 永登县| 襄城县| 龙门县| 汉中市| 天峨县| 怀宁县| 双柏县| 贵州省| 津南区| 额尔古纳市| 左权县| 慈溪市| 万全县| 呼伦贝尔市| 仙桃市| 柘荣县| 广宗县| 东乌珠穆沁旗| 玛沁县| 绵阳市| 西乌| 阳朔县| 新化县| 吉木萨尔县| 驻马店市| 泰顺县| 祁门县| 浦东新区| 上饶县| 都匀市| 杂多县| 德州市| 苍溪县| 札达县| 苍溪县| 札达县| 库尔勒市| 习水县| 富蕴县|