30個(gè)棋子由人機(jī)雙方輪流取子,每次每方只能取走1,2或4個(gè),拿到最后一個(gè)棋子的一方算失敗。開始時(shí)隨機(jī)決定那方先走,盡量保證機(jī)器能贏得游戲。
標(biāo)簽:
上傳時(shí)間: 2013-11-30
上傳用戶:hanli8870
一個(gè)用JavaScript寫的俄羅斯方塊游戲,游戲開始時(shí)用1到9選擇游戲速度,之后用→←↑↓控制方塊下落。把game.txt中的代碼插入到<body>和</body>之間就能看到效果。
標(biāo)簽: JavaScript 俄羅斯方塊
上傳時(shí)間: 2015-03-13
上傳用戶:731140412
餐飲管理系統(tǒng)數(shù)據(jù)庫設(shè)計(jì)文檔 表名:bzqbj(保質(zhì)期報(bào)警表) 字段名 字段類型 字段長度 (0表示不允許NULL,1為允許) id bigint 8 0 id ylid varchar 50 1 原料id ylmc varchar 50 1 原料名稱 diffbzq bigint 8 1 距離保質(zhì)期的時(shí)間 diffbzqyj bigint 8 1 距離保質(zhì)預(yù)警期的時(shí)間 bzq bigint 8 1 保質(zhì)期 表名:cdb(菜單表) id varchar 50 1 mc varchar 50 1 名稱 price float 8 1 價(jià)格 lbbh bigint 8 1 類別編號(typelist) dlmc varchar 50 1 大類名稱 tj float 8 1 特價(jià) sftj int 4 1 是否特價(jià) sfjl int 4 0 是否酒類
標(biāo)簽: bzqbj NULL 字段 管理系統(tǒng)
上傳時(shí)間: 2015-04-01
上傳用戶:royzhangsz
數(shù)字運(yùn)算,判斷一個(gè)數(shù)是否接近素?cái)?shù) 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
上傳時(shí)間: 2015-05-21
上傳用戶:daguda
源代碼\用動態(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è)動態(tài)規(guī)劃算法,計(jì)算出有多少種不同的序列關(guān)系, 要求算法只占用O(n),只耗時(shí)O(n*n).
標(biāo)簽: lt 源代碼 動態(tài)規(guī)劃 序列
上傳時(shí)間: 2013-12-26
上傳用戶:siguazgb
面向?qū)ο蠹夹g(shù),包括: 4.1 畫紅點(diǎn) 4.2 隨機(jī)生長的樹 4.3 彈性球 4.4 蜂群 4.5 熒光咖啡杯 4.6 旋轉(zhuǎn)的陀螺 4.7 生命周期 4.8 圖形變換
標(biāo)簽: 對象
上傳時(shí)間: 2013-12-24
上傳用戶:wendy15
SCTP lib庫,版本1。0。4,實(shí)用于windows和linux平臺,希望大家喜歡
上傳時(shí)間: 2015-08-28
上傳用戶:xinyuzhiqiwuwu
一個(gè)簡單的SPI IP核,SPI Core Specifications 可以從說明文檔中找到! The simple Serial Peripheral Interface core is an enhanced version of the Serial Peripheral Interface found on Motorola s M68HC11 family of CPUs. The Serial Peripheral Interface is a serial, synchronous communication protocol that requires a minimum of 3 wires. FEATURES: · Compatible with Motorola’s SPI specifications · Enhanced M68HC11 Serial Peripheral Interface · 4 entries deep read FIFO · 4 entries deep write FIFO · Interrupt generation after 1, 2, 3, or 4 transferred bytes · 8 bit WISHBONE RevB.3 Classic interface · Operates from a wide range of input clock frequencies · Static synchronous design · Fully synthesizable
標(biāo)簽:
上傳時(shí)間: 2015-09-17
上傳用戶:TRIFCT
用P1口,一位接按鍵輸入,四位接LED輸出顯示一個(gè)四位二進(jìn)制數(shù),每次按鍵,二進(jìn)制數(shù)加1 P1口用4*4鍵盤輸入,P0口接1位數(shù)碼管顯示16個(gè)鍵,分別顯示0—F 實(shí)現(xiàn)一位十進(jìn)制計(jì)算器功能
標(biāo)簽: P1口
上傳時(shí)間: 2013-12-21
上傳用戶:cc1915
VB編寫的銷售合同管理系統(tǒng),完整的程序設(shè)計(jì)說明書 第1章 緒 論 1.1 項(xiàng)目背景 1.2實(shí)行銷售合同管理的企業(yè)的業(yè)務(wù)特點(diǎn) 1.3 計(jì)算機(jī)管理銷售合同的必要性 1.4 銷售合同管理工作分析 第2章 可行性研究 2.1 管理可行性 2.2 技術(shù)可行性 第3章Visual Basic 6.0編程環(huán)境簡介及數(shù)據(jù)庫編程 3.1 VB編程環(huán)境簡介 3.2 VB數(shù)據(jù)庫編程 第4章 銷售合同管理系統(tǒng)需求分析說明 4.1 引言 4.1.1 編寫目的 4.1.2 參考資料 4.2 任務(wù)概述 4.2.1 開發(fā)目標(biāo) 4.2.2 運(yùn)行環(huán)境 4.2.3 條件與限制 4.3 功能需求 4.3.1 功能劃分 4.3.2 功能描述 4.3.3 詳細(xì)功能需求 4.4 性能需求 4.4.1 數(shù)據(jù)精確度 4.4.2 時(shí)間特性 4.4.3 適應(yīng)性 4.5 運(yùn)行需求
標(biāo)簽: 編寫 合同 管理系統(tǒng) 銷售
上傳時(shí)間: 2014-01-16
上傳用戶:123啊
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1