Tasks Read the textbook about the details of Vigenére Cipher. Implement the algorithm by C or C++. Requirements You do this lab in a group of two students. Your program should have input and output as follows: csci>a.out --> Please input the key: receptive --> Please input the plain text: wearediscoveredsaveyourself --> The cipher text is : nicvtwqngfzgvtwavzvcqyglmgj -->The original message is: wearediscoveredsaveyourself • You should test your program with several runs.
標簽: the Implement algorithm textbook
上傳時間: 2013-12-21
上傳用戶:bruce5996
This guide reviews the rules and syntax of the principle commands that comprise C and its object-oriented cousin, C++. The reference consists of 19 chapters that define operators and the standard input/output, string, character, and more.
標簽: object-ori and principle the
上傳時間: 2014-01-15
上傳用戶:ve3344
輸入的第一行是一個正整數N(1<=N<=40),表示TheBeet買了N個山東煎餅,已知每個山東煎餅價格為2.5元。 接下來有6個非負整數,范圍在[0, 1000]之內,分別表示攤主所擁有的50元、10元、5元、1元、5角、1角紙幣的數量。 Output 輸出一個整數,表示TheBeet最后收到的紙幣數。如果無法滿足要求,那就輸出-1。
上傳時間: 2016-06-26
上傳用戶:米卡
Description 為了宣傳本次“網宿科技杯”廈門大學第五屆程序設計競賽,系里面做了兩張精美的海報。經過了精確的計算,為了達到最佳美觀效果,每張海報都有自己最佳的粘貼位置。但是現在問題是,如果兩張海報都要求貼在最佳位置時,很有可能有部分地方會重疊在一起。現在您來判斷一下這兩張海報是否重疊。 Input 輸入包含兩行,每一行有四個整數來描述這個海報的最佳粘貼位置,X,Y,W,H(-10000<= X,Y <= 10000)(0 < W, H <= 10000),X,Y表示海報左下角的坐標,W,H分別表示寬度和高度。 Output 輸出"Yes"表示兩張海報互相重疊(表示存在一個面積大于0的公共區域),否則輸出"No"。(不包含引號,注意大小寫) Sample Input -10 -10 20 30 0 0 30 20 Sample Output Yes
標簽: Description 大學 程序設計 競賽
上傳時間: 2016-06-26
上傳用戶:gxf2016
Network Tools In this exercise, you will make use of common network tools. For each part below, capture the appropriate program output and include it with your answers to the questions.
標簽: exercise Network network common
上傳時間: 2013-12-11
上傳用戶:ywqaxiwang
Free 8051 asm compiler for win new host platforms: Win32 and Linux macro processing dramatically improved conditional assembly output in Intel-HEX or OMF-51 format 37 new MCU files documentation in both ASCII and HTML format numberless small extensions and improvements bug fixes For details see the ASEM-51 Release Notes.
標簽: dramaticall processing platforms compiler
上傳時間: 2013-12-20
上傳用戶:chongcongying
Free 8051 asm compiler for linux new host platforms: Win32 and Linux macro processing dramatically improved conditional assembly output in Intel-HEX or OMF-51 format 37 new MCU files documentation in both ASCII and HTML format numberless small extensions and improvements bug fixes For details see the ASEM-51 Release Notes.
標簽: processing dramatica platforms compiler
上傳時間: 2014-10-28
上傳用戶:wxhwjf
這是個反向工程delphi的程序的全部源代碼.能分析幾乎所有的結構 Revendepro is a program to reverse engineer Delphi program. Revendepro finds almost all structures (classes, types, procedures, etc) in the program, and generates the pascal representation, procedures will be written in assembler. Due to some limitation in assembler the generated output can not be recompiled.
標簽: program Revendepro engineer reverse
上傳時間: 2016-07-21
上傳用戶:songrui
.ifnz I2C_SUPPORT ************************************************************** Function : fProcessI2cRead Description : process I2C write function Input : IOP_DATA1_H=rCtrlByte,IOP_DATA1_L=rAddr Output : NONE ************************************************************** fProcessI2cRead: fetch parameter lda IOP_DATA1_H sta rCtrlByte lda IOP_DATA1_L sta rAddr jsr fI2cSendCmdAddr bcs lReadI2CFail
標簽: C_SUPPORT Function ifnz fPro
上傳時間: 2016-07-21
上傳用戶:xaijhqx
* The functions debug_init() and debug() implement non-RTOS * serial port initialization and a blocked debug output. The * debug() function can be used in error message and die * situations.
標簽: initialization debug_init functions and
上傳時間: 2016-07-24
上傳用戶:caozhizhi