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
问题描述 设有n种不同面值的硬币,各硬币的面值存于数组T[1:n]中。现要用这些面值的硬币来找钱,可以实用的各种面值的硬币个数不限。当只用硬币面值T[1],T[2],…,T[i]时,可找出钱数j的最少硬币个数记为C(i,j)。若只用这些硬币面值,找不出钱数j时,记C(i,j)=∞。 编程任务 设计一个动态规划算法,对1≤j≤L,计算出所有的C( n,j )。算法中只允许实用一个长度为L的数组。用L和n作为变量来表示算法的计算时间复杂性 数据输入 由文件input.txt提供输入数据。文件的第1行中有1个正整数n(n<=13),表示有n种硬币可选。接下来的一行是每种硬币的面值。由用户输入待找钱数j。 结果输出 程序运行结束时,将计算出的所需最少硬币个数输出到文件OUTPUT.txt中。
标签:
上传时间: 2016-07-28
上传用户:yangbo69