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.
標(biāo)簽: object-ori and principle the
上傳時(shí)間: 2014-01-15
上傳用戶:ve3344
輸入的第一行是一個(gè)正整數(shù)N(1<=N<=40),表示TheBeet買了N個(gè)山東煎餅,已知每個(gè)山東煎餅價(jià)格為2.5元。 接下來有6個(gè)非負(fù)整數(shù),范圍在[0, 1000]之內(nèi),分別表示攤主所擁有的50元、10元、5元、1元、5角、1角紙幣的數(shù)量。 OUTPUT 輸出一個(gè)整數(shù),表示TheBeet最后收到的紙幣數(shù)。如果無法滿足要求,那就輸出-1。
上傳時(shí)間: 2016-06-26
上傳用戶:米卡
Description 為了宣傳本次“網(wǎng)宿科技杯”廈門大學(xué)第五屆程序設(shè)計(jì)競賽,系里面做了兩張精美的海報(bào)。經(jīng)過了精確的計(jì)算,為了達(dá)到最佳美觀效果,每張海報(bào)都有自己最佳的粘貼位置。但是現(xiàn)在問題是,如果兩張海報(bào)都要求貼在最佳位置時(shí),很有可能有部分地方會(huì)重疊在一起。現(xiàn)在您來判斷一下這兩張海報(bào)是否重疊。 Input 輸入包含兩行,每一行有四個(gè)整數(shù)來描述這個(gè)海報(bào)的最佳粘貼位置,X,Y,W,H(-10000<= X,Y <= 10000)(0 < W, H <= 10000),X,Y表示海報(bào)左下角的坐標(biāo),W,H分別表示寬度和高度。 OUTPUT 輸出"Yes"表示兩張海報(bào)互相重疊(表示存在一個(gè)面積大于0的公共區(qū)域),否則輸出"No"。(不包含引號,注意大小寫) Sample Input -10 -10 20 30 0 0 30 20 Sample OUTPUT Yes
標(biāo)簽: Description 大學(xué) 程序設(shè)計(jì) 競賽
上傳時(shí)間: 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.
標(biāo)簽: exercise Network network common
上傳時(shí)間: 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.
標(biāo)簽: dramaticall processing platforms compiler
上傳時(shí)間: 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.
標(biāo)簽: processing dramatica platforms compiler
上傳時(shí)間: 2014-10-28
上傳用戶:wxhwjf
這是個(gè)反向工程delphi的程序的全部源代碼.能分析幾乎所有的結(jié)構(gòu) 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.
標(biāo)簽: program Revendepro engineer reverse
上傳時(shí)間: 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
標(biāo)簽: C_SUPPORT Function ifnz fPro
上傳時(shí)間: 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.
標(biāo)簽: initialization debug_init functions and
上傳時(shí)間: 2016-07-24
上傳用戶:caozhizhi
問題描述 設(shè)有n種不同面值的硬幣,各硬幣的面值存于數(shù)組T[1:n]中。現(xiàn)要用這些面值的硬幣來找錢,可以實(shí)用的各種面值的硬幣個(gè)數(shù)不限。當(dāng)只用硬幣面值T[1],T[2],…,T[i]時(shí),可找出錢數(shù)j的最少硬幣個(gè)數(shù)記為C(i,j)。若只用這些硬幣面值,找不出錢數(shù)j時(shí),記C(i,j)=∞。 編程任務(wù) 設(shè)計(jì)一個(gè)動(dòng)態(tài)規(guī)劃算法,對1≤j≤L,計(jì)算出所有的C( n,j )。算法中只允許實(shí)用一個(gè)長度為L的數(shù)組。用L和n作為變量來表示算法的計(jì)算時(shí)間復(fù)雜性 數(shù)據(jù)輸入 由文件input.txt提供輸入數(shù)據(jù)。文件的第1行中有1個(gè)正整數(shù)n(n<=13),表示有n種硬幣可選。接下來的一行是每種硬幣的面值。由用戶輸入待找錢數(shù)j。 結(jié)果輸出 程序運(yùn)行結(jié)束時(shí),將計(jì)算出的所需最少硬幣個(gè)數(shù)輸出到文件OUTPUT.txt中。
標(biāo)簽:
上傳時(shí)間: 2016-07-28
上傳用戶:yangbo69
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1