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

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

可<b>移植</b>性

  • 遺傳算法類的聲明及定義

    遺傳算法類的聲明及定義,可直接移植,用于優化。

    標簽: 算法 定義

    上傳時間: 2015-05-16

    上傳用戶:qb1993225

  • 數字運算

    數字運算,判斷一個數是否接近素數 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no

    標簽: 數字 運算

    上傳時間: 2015-05-21

    上傳用戶:daguda

  • 源代碼用動態規劃算法計算序列關系個數 用關系"<"和"="將3個數a

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

    標簽: lt 源代碼 動態規劃 序列

    上傳時間: 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

  • 電力系統在臺穩定計算式電力系統不正常運行方式的一種計算。它的任務是已知電力系統某一正常運行狀態和受到某種擾動

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

    標簽: 電力系統 計算 運行

    上傳時間: 2015-06-13

    上傳用戶:it男一枚

  • 本源碼給出了xml解釋程序以及基于xml文件內容的數據結構構造示例

    本源碼給出了xml解釋程序以及基于xml文件內容的數據結構構造示例,可完全移植到需要類似功能的程序中。

    標簽: xml 源碼 數據結構 程序

    上傳時間: 2013-12-26

    上傳用戶:shus521

  • x.org上有關ati系列顯卡最新驅動

    x.org上有關ati系列顯卡最新驅動,可方便移植到各其他目標平臺

    標簽: org ati 顯卡 驅動

    上傳時間: 2015-10-11

    上傳用戶:ma1301115706

  • 一種點對多點移動數據通信系統的設計

    一種點對多點移動數據通信系統的設計,該系統涉及到單片機電路,防通信沖突,等各種問題,系統可用于智能交通監管,也可用于其他實時性要求較高,數據量不大的應用

    標簽: 多點 移動數據 通信系統

    上傳時間: 2013-12-17

    上傳用戶:epson850

  • 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

  • USB/PS2鼠標驅動

    USB/PS2鼠標驅動,很經典的程序,可方便移植到其他單片機或嵌入式中

    標簽: USB PS 鼠標 驅動

    上傳時間: 2016-02-10

    上傳用戶:czl10052678

主站蜘蛛池模板: 龙井市| 双鸭山市| 始兴县| 清水河县| 会昌县| 左贡县| 泽州县| 东阳市| 双城市| 平罗县| 玛多县| 正定县| 富顺县| 华阴市| 唐海县| 榆中县| 广东省| 神木县| 临泽县| 镇康县| 彭阳县| 赤峰市| 宜昌市| 大姚县| 互助| 金昌市| 武邑县| 文登市| 磐石市| 巴塘县| 屏边| 冀州市| 临西县| 阿城市| 湘西| 安宁市| 延边| 五华县| 会理县| 茂名市| 德清县|