登录
首页 » Visual C++ » ds1

ds1

于 2014-05-11 发布 文件大小:1KB
0 177
下载积分: 1 下载次数: 2

代码说明:

  建立一张顺序存储结构的线性表(顺序表),表中数据元素为整型数,能够存储的最大元素数量为50。在该顺序表上依次完成以下操作: (1)判定线性表是否为空。 (2)依次在顺序表尾部(第n+1位,n位线性表长度)插入数据元素:15、207、36、79、21、97、652、109、66、81,然后输出整张线性表(依次输出所有元素)。 (3)删除第5个元素,然后输出整张线性表。 (4)在线性表的第3位插入数据92,然后输出整张线性表。 (5)在线性表中查找值为79的元素,如果存在输出它是第几位,不存在输出提示信息。 (6)线性表中查找值为31的元素,如果存在输出它是第几位,不存在输出提示信息。 (7)查找线性表中,值为652的元素的前驱元素以及后继元素的值。 (Order to establish a linear table storage structure (order form), the table is an integer number of data elements, the maximum number of elements that can be stored is 50. On the order form in order to complete the following: (1) determine whether a linear table is empty. (2) sequentially in the order form the tail (the n+1 bit, n-bit linear meter length) into the data elements: 15,207,36,79,21,97,652,109,66,81, and then output the entire linear table (in order to output all elements). (3) Delete the first five elements, and then output the entire linear form. The first three insert data (4) line of the table 92, and then output the entire linear form. (5) Find a linear table of elements is 79, if there is it is the first of several output, the output message does not exist. (6) Find a linear table of elements is 31, and if there is it is the first of several output, the output message does not exist. (7) Find a linear table, element 652 is a precursor elements and the va)

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

发表评论

0 个回复

  • jjcsy
    酒精测试仪proteus仿真,单片机进行分析处理,判断是否醉酒驾车,再通过液晶板显示出来。(Alcohol Tester proteus simulation, analysis and processing microcontroller to determine whether drunk driving, and then through the LCD panel display.)
    2013-11-27 15:26:09下载
    积分:1
  • jianhua
    说明:  基于无人机,组合导航实现联邦滤波器。代码(UAV-based, integrated navigation filter to achieve Federation. Code)
    2020-09-09 16:18:01下载
    积分:1
  • 430
    msp430f149三相逆变电源源代码,可以输出6路spwm信号(msp430f149 spwm)
    2014-05-09 16:39:55下载
    积分:1
  • process-and-thread-Technology
    进程和线程技术 Linux和windows进程创建 进程和线程通信 文档+实例分析(process and thread Technology Text and examples)
    2012-01-05 10:51:28下载
    积分:1
  • MPU6050_DMP6
    利用Arduino实现读取MPU6050的DMP四元数(Arduino MCU reads MPU6050 use a DMP quaternion)
    2013-08-28 14:57:56下载
    积分:1
  • DC_DC
    基于430的DC_DC变化,采用PID控制,调节PWM的输出占公比,从而反馈调节输出电压(Based on 430 DC_DC change, using PID control, adjust the PWM output accounted common ratio, thus regulating the output voltage feedback)
    2013-08-31 13:24:57下载
    积分:1
  • PCA--stm32
    stm32F410X PCA例程,Stm32F410x很好的学习资料(Stm32F410X PCA routines, stm32F410X very good learning material )
    2012-08-08 10:52:44下载
    积分:1
  • curve25519-20050915.tar
    Elliptic Curve Diffie-Hellman Key Agreement Scheme
    2010-02-10 04:27:27下载
    积分:1
  • ZB220GDNZ_PSR
    ZB220GDNZ_PSR测控装置的IEC61850配置的icd文件(ZB220GDNZ_PSR of IEC61850)
    2014-01-03 14:32:59下载
    积分:1
  • Infrared-transceiver-test
    红外的收发测试。。通过2路红外发射,顺序接收,检测收发功能是否正常(Infrared transceiver test. . 2-way infrared transmitter, received out of sequence detection transceiver function is normal)
    2012-10-02 01:10:53下载
    积分:1
  • 696518资源总数
  • 106215会员总数
  • 5今日下载