登录
首页 » Visual C++ » 3.13

3.13

于 2015-03-04 发布 文件大小:14KB
0 277
下载积分: 1 下载次数: 1

代码说明:

  读一组整数到vector对象,计算并输出每对相邻元素的和。如果读入元素个数为奇数,则提示用户最后一个元素没有求和,并输出其值。(Read a set of integers to vector objects, calculate and output, and each pair of adjacent elements. If you read an odd number of elements, the last element of the user is prompted no summation, and output its value.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • -MIMO-system
    CSI对MIMO系统容量影响的仿真与分析(Simulation and Analysis for MIMO system capacity CSI effect)
    2013-12-09 16:40:40下载
    积分:1
  • duonihe
    matlab 求信号的最大频率曲线程序,很简便~~(matlab curve seek the maximum frequency of the signal process, it is easy ~ ~)
    2010-05-29 20:35:11下载
    积分:1
  • fz
    说明:  改进欧拉法的matlab程序,并且其中有一个例子(Improved Euler method matlab program, and an example)
    2012-06-26 22:10:09下载
    积分:1
  • gfyfytygugytyfuyftrdtfy
    matlab and vc used by program and application
    2010-03-04 00:37:29下载
    积分:1
  • classic-C-program
    D F P变尺度法子程序 matlab程序 Powell法子程序 内点惩罚函数法子程序 进退法子程序 黄金分割法子程序 外点惩罚函数法子程序 (relay) (D F P variable scale recourse procedures Matlab procedures Powell recourse procedures point penalty function tool procedures stop recourse procedures 0.618 recourse procedures Point Penalty Function tool (relay))
    2006-06-02 12:09:39下载
    积分:1
  • 0
    说明:  给定n种物品和一个背包,物品i的重量是Wi,价值是vi,被包容量是C,应该如何选择装入被包的物品,使得装入背包中物品的总价值最大?对于每种物品i,只有两种选择,装入或者不装入. 输入:第一行两个正整数n(物品数)和C(容量) 第二行n个正整数n,表示物品价值 第三行n个正整数n,表示物品重量 输出:第一行表示总价值 第二行n个数(0/1),0表示物品不装入,1表示装入 例如, 输入: 5 10 6 3 5 4 6 2 2 6 5 4 输出 15 1 1 0 0 1 (Species of a given n items and a backpack, the weight of item i is Wi, the value of vi, was packet capacity is C, should be how to choose a package of items to be loaded, the backpack load in the largest total value of goods? For each item i, there are only two options, loaded or not loaded. Input: the first line of the two positive integer n (the number of items) and C (capacity) of the second line of n positive integer n, that the value of the third line of n positive integer n, that the weight of output: the total value of the first line of the second line, said n number of (0/1), 0 that the items do not load, that load 1 for example, enter: 5,106,354,622 6 5 4 output 15 1 1 0 0 1)
    2009-07-01 23:07:01下载
    积分:1
  • EMD
    将原信号进行EMD分解,得到一系列IMF分量,这些分量是按频率从高到低排列(EMD decomposition of the original signal to obtain a series of IMF components, which are arranged according to the frequency high to low)
    2015-01-12 13:11:01下载
    积分:1
  • matlabzhifangtu
    matlab中的直方图均衡,适合初学图像处理者使用,希望采纳(matlab histogram equalization, image processing suitable for beginners to use, hope to adopt)
    2015-03-18 14:47:38下载
    积分:1
  • C--CPP-programmers-reference
    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.
    2015-01-31 22:59:58下载
    积分:1
  • VQ
    说明:  program c++ for vector quantization use k-means
    2015-04-19 21:37:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载