1、 本演示程序?qū)崿F(xiàn)對二叉樹的先序、中序、后序三種遍歷。 2、 二叉樹的元素為所有字符集合。 3、 演示程序以人機(jī)對話方式執(zhí)行,即在計算機(jī)終端上顯示“請輸入二叉樹”下,用戶可由鍵盤輸入待遍歷的二叉樹(a-z 或A-Z)。每次測試完畢,終端顯示按三種遍歷字母的順序。
上傳時間: 2013-12-25
上傳用戶:huangld
簡單的floyd運(yùn)用 第一行輸入一個整數(shù)C。C是測試的情況(0< C <=30).第二行一個正整數(shù)N( 0< N <=100),表示道路的總數(shù).緊接N行,每一行包含兩個字符串, Si,,Ti,和一個整數(shù)Di,代表從Si到Ti的距離(0<= Di <=150)。最后一行有兩個字符串,S 和 T,你得找出從S 到 T的最短的距離。地名是不超過120個小寫字符的串(從‘a(chǎn)’到‘z’)。假設(shè)這里最多有100條直接連通兩個地方的路。 Output 輸出包含C行,每一行對一種測試情況。對每一種測試情況,輸出包含一個整數(shù),假如S 到 T存在一條最短的路,輸出從S到T的最短距離,否則輸出“-1”. Sample Input 2 2 jiuzhouriver liuchi 89 liuchi liyuan 100 liuchi jiuzhouriver 3 youyongchi fengyuan 100 qinshi meiyuan 100 chaochang supermarkt 100 meiyuan youyongchi Sample Output 89 -1
標(biāo)簽: lt floyd 100 整數(shù)
上傳時間: 2016-03-10
上傳用戶:wyc199288
1928年,Wilhelm Ackermann (1896 - 1962,David Hilbert的學(xué)生) 發(fā)現(xiàn)x的y次冪的z-重積分 A(x,y,z)是遞歸的但不是原始遞歸的。Rosza Peter將A(x,y,z)簡化到二元函數(shù),初始條件由Raphael Robinson簡化。
標(biāo)簽: 1928
上傳時間: 2013-12-10
上傳用戶:xfbs821
基于OFDM的無線寬帶系統(tǒng)仿真It contains mainly two parts, i.e. link-level simulator and system-level simulator. Link-level simulator focus on a single-cell single-user scenario, where signal is transmitted from tx, and estimated at rx. Comparing the difference in tx/rx signal, the error rate can be found out. The output of the link-level simulator is the BLER/BER vs. SNR mapping table, that can be used for the system-level simulation. System-level simulator focus on a multi-cell multi-user scenario. For the sake of simplicity, it takes the mapping table aquired in the link-level simulation, measure the actural SNR, and finds the corresponding error rate.
標(biāo)簽: simulator i.e. system-level link-level
上傳時間: 2016-03-15
上傳用戶:xsnjzljj
This project aim was to build wireless software modem for data communication between two computers using an acoustic interface in the voice frequency range (20Hz– 20,000Hz). The transmitting antenna is a speaker (frequency response of: 90Hz – 20,000Hz) and the receiving antenna is a microphone (frequency response of: 100Hz – 16,000Hz). The test files used as information files were text files. This goal was attained both in an incoherent scheme and in a coherent scheme. Build under Matlab code, our modem uses OFDM (orthogonal frequency division multiplexing) modulation, synchronization by LMS sequence, channel estimation (no equalizer) via pilot tones. The symbols are either PSK or ASK for a constellation size of 2 or 4. To optimize the probability of error, these symbols were mapped using Gray mapping. Report
標(biāo)簽: communication computers software wireless
上傳時間: 2014-05-29
上傳用戶:wangdean1101
METAmorphoses is a system for flexible and easy-to-use generation of RDF metadata directly from a relational database. Metadata are genereated according to a mapping from an existing database schema to a particular ontology.
標(biāo)簽: METAmorphoses easy-to-use generation flexible
上傳時間: 2014-01-03
上傳用戶:nanxia
該程序的功能是從緩沖區(qū)中讀取鍵入字符并顯示在屏幕上,當(dāng)按下left_shift鍵(掃描碼為42d)的同時,又按下0-9或a-z等鍵,則顯示鍵的上檔符號或大寫字母。按動除left_shift鍵以外的控制鍵或功能鍵時,則退出。
上傳時間: 2014-11-22
上傳用戶:1159797854
編寫簡單的加密程序它把一個文件的所有字母按下列規(guī)律進(jìn)行 換,非字母的字符保持不變。文本可以自行創(chuàng)建,文件名可以自定 轉(zhuǎn)換規(guī)律:‘A’→‘Z’,‘B’→‘Y’,• •
上傳時間: 2016-03-23
上傳用戶:ouyangtongze
詳細(xì)介紹了matlab中的常用命令集,按照從a到z的順序排列。
上傳時間: 2013-12-17
上傳用戶:gaome
This demonstration shows how a ZigBee coordinator can be set up. This demo allows the Demonstration Board (PICDEM Z or Explorer 16) to act as either a "Switching Load Controller" (e.g. a light) or a "Switching Remote Control" (e.g. a switch) as defined by the Home Controls, Lighting profile. It is designed to interact with a second Demonstration board programmed with the Demo RFD project
標(biāo)簽: This demonstration Demonstratio coordinator
上傳時間: 2014-01-18
上傳用戶:dianxin61
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1