由文件input.txt提供輸入數(shù)據(jù)。輸入文件第1 行有2個正整數(shù)n和m(1<=n,m<=100), 表示倉庫是n×m個格子的矩形陣列。接下來有n行,每行有m個字符,表示格子的狀態(tài)。 S 表示格子上放了不可移動的沉重貨物; w 表示格子空閑; M 表示倉庫管理員的初始位置; P 表示箱子的初始位置; K 表示箱子的目標(biāo)位置。
上傳時間: 2017-08-05
上傳用戶:cainaifa
有N件物品和一個容量為V的背包。第i件物品的費(fèi)用是c,價值是w。求解將哪些物品裝入背包可使這些物品的費(fèi)用總和不超過背包容量,且價值總和最大。
標(biāo)簽: 容量
上傳時間: 2014-01-19
上傳用戶:小儒尼尼奧
XT_KeyBoard interface with 8951 using Assembler and Document for Key board delivered data details, Which will help to dvelope for any processor and controller interface.
標(biāo)簽: XT_KeyBoard Assembler interface delivered
上傳時間: 2014-01-09
上傳用戶:鳳臨西北
賦權(quán)有向圖中心問題 問題描述: 設(shè)G=(V,E)是一個賦權(quán)有向圖,v是G的一個頂點(diǎn), v的偏心距定義為: Max {w∈ V,從w到v的最短路徑長度} G中偏心距最小的頂點(diǎn)稱為G的中心。試?yán)肍loyd 算法設(shè)計一個求賦權(quán)有向圖中心的算法。
標(biāo)簽:
上傳時間: 2017-08-17
上傳用戶:klin3139
/* * tesswind.c * This program demonstrates the winding rule polygon * tessellation property. Four tessellated objects are drawn, * each with very different contours. When the w key is pressed, * the objects are drawn with a different winding rule. */
標(biāo)簽: demonstrates tessellation tesswind program
上傳時間: 2013-12-10
上傳用戶:星仔
This file contains all possible questions that the exam 2 could contain (SSD2 consideration), as well as exercises that may require the practical examination, I hope they help, luck!
標(biāo)簽: consideration questions contains possible
上傳時間: 2013-12-25
上傳用戶:himbly
for entropy H = entropy(S) this command will evaluate the entropy of S, S should be row matrix H = entropy([X Y Z]) this command will find the joint entropy for the 3 variables H = entropy([X,Y],[Z,W]) this will find H(X,Y/Z,W).. you can use it for any combination of joint entropies Please validate this function before using it
標(biāo)簽: entropy evaluate command matrix
上傳時間: 2017-09-10
上傳用戶:caozhizhi
This is a comparison foundation construction of data example code, the function is quite complete, was myself debugs the successful procedure, might again on Visual c++ the direct movement
標(biāo)簽: construction comparison foundation complete
上傳時間: 2013-12-30
上傳用戶:cxl274287265
1. 心理學(xué)家( )于1879年在德國的萊比錫大學(xué)建立了世界上第一個心理實(shí)驗(yàn)室,從而使心理學(xué)成 為了一門獨(dú)立的科學(xué)。 A 艾賓浩斯(Ebbinghaus)B 繆勒(G.E.Muller)C 費(fèi)希納(Fechner) D 馮特(W.Wundt) 2. 研究人的心理活動的一般規(guī)律的科學(xué)是指( )。 A 工程心理學(xué) B 普通心理學(xué) C 工程心理學(xué) D 社會心理學(xué)
標(biāo)簽: 職業(yè)教育心理學(xué)
上傳時間: 2015-03-10
上傳用戶:FUCSAD
DATAS SEGMENT w dw 0 keybuf db 255 db 0 db 255 dup(0) ;定義鍵盤輸入需要的緩沖區(qū) DATAS ENDS STACKS SEGMENT db 200 dup(?) STACKS ENDS CODES SEGMENT ASSUME CS:CODES,DS:DATAS,SS:STACKS START: MOV AX,DATAS MOV DS,AX mov dx,offset keybuf ;用0a號功能,輸入一個字符串 mov ah,0ah ;用回車結(jié)束 int 21h mov dl,0ah ;再進(jìn)行換行,以便在下一行顯示轉(zhuǎn)換后的字符串 mov ah,2 int 21h ; push ax ; push dx ; mov dl,cl ; mov ah,02 ; int 21h ; pop dx ; pop ax mov bx,offset keybuf+1 ;取出字符串的字符個數(shù),作為循環(huán)的次數(shù) mov cl,[bx] mov ch,0 mov ax,0 again: inc bx mov ax,[w] push bx mov bx,16 mul bx pop bx ;是小寫字母,則轉(zhuǎn)換為大寫字母 mov [w],ax mov dl,[bx] ;取出一個字符, cmp dl,'9' jbe lab1 cmp dl,'F' jbe lab2 sub dl,32 lab2: sub dl ,07h lab1: sub dl,30h add [w],dx loop again mov ax,[w] mov bx,-1 push bx mov bx,10 lab3 :mov dx,0 div bx push dx cmp ax,0 jnz lab3 lab5: pop dx cmp dx,-1 jz lab4 add dl,30h mov ah,02 int 21h jmp lab5 ;循環(huán),處理完整個字符串 lab4: MOV AH,4CH INT 21H CODES ENDS END START
標(biāo)簽: 匯編
上傳時間: 2015-04-02
上傳用戶:wcc0310
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1