搜索资源列表
listandlink
- 包含字符串处理,向量数组,起泡,快速,选择以及快速排序,链表,栈和队列的同个c++文件-Contains the string processing, vector array, foaming, rapid, and selection and quick sort, list, stack and queue with a c++ file
The_operation_of_single-strand_table
- 数据结构中通过C++对顺序表的操作 对线性表进行排序、搜索、插入等处理 包括顺序数组与单链表-Data structure through C++ on the operation of the linear order of the table to sort the table, search, insertion order processing, including an array with a single linked list
Array-processing
- 此程序可实现数据结构中对数组的相关操作,包括初始化,创建数组,修改和输出数组某元素-This program can be an array of data structures related to the operation, including initialization, create an array, modify, and output an array element
4
- 字符串数据的组织和处理 标准C++库的使用。 指针的使用方法。 通过debug观察指针约内容及其所指的对象的内容。 通过动态内存分配实现动念数组,并体会指针在其中的作用 -String data organization and processing of standard C++ libraries use. Pointer is used. Observation about the contents of the debug pointer and the conten
7_5_1
- 编写程序,输入两个字符串分别存入两个一维字符数组,将其连接后存入第三个一维字符数组后输出,要求用指向一维数组的指针变量来处理其中的字符,不能使用字符串处理函数-Programming, enter the two strings are stored in two one-dimensional array of characters, its connection into the third after a one-dimensional array of characters output
string_trans
- 从文本文件中读取按照一定格式存储的数据,并经过字符串处理,将数据存储到数组中。主要用到了char*到浮点数的转换,文件读取的一些常用函数。-Read from a text file format for storing data according to certain, and after a string processing, the data stored in the array. Main use of the floating-point conversion to char*,
maze
- 根据图的广度优先搜索算法,用数组模拟队列处理的迷宫问题。-According to the graph breadth-first search algorithm queue processing using an array of simulated maze.
TXL
- 程序设计一般由两部分组成:算法和数据结构,合理地选择和实现一个数据结构和处理这些数据结构具有同样的重要性。在通讯录管理程序中,由于预计记录数相对于一个单位的学生人数或职工人数来说不会太大,除了能够增加、删除、保存等外,更多的情况时查询,且能够实现快速查询,所以选用静态数组保存数据,实现多种查询方式。-Programming generally consists of two parts: algorithms and data structures, rational choice and a
work1
- 邮局选址问题的文件输入到数组处理,一个很经典的算法设计问题源码-The post office siting file input to array processing, a classic algorithm design problem source
guibingpaixu
- 归并排序,用数组的存储结构,实现数的排序。共有十组随机数据,还能够计算出每组数据的处理时间,最终得到平均时间。-Merge sort array storage structure, to achieve the sort of number. Ten set of random data, but also be able to calculate the processing time of each data, and eventually obtain the average time.
heapsort
- 堆排序,用数组的存储结构,构造大顶堆,实现数的排序。共有十组随机数据,还能够计算出每组数据的处理时间,最终得到平均时间。-Heap sort, with an array of storage structure, constructed big top heap to achieve the sort of number. Ten set of random data, but also be able to calculate the processing time of each data
InsertSort
- 直接插入排序,用数组的存储结构,实现数的排序。共有十组随机数据,还能够计算出每组数据的处理时间,最终得到平均时间。-Direct insertion sort, using an array of storage structure, to achieve the sort of number. Ten set of random data, but also be able to calculate the processing time of each data, and eventuall
QuickSort
- 快速排序,用数组的存储结构,实现数的排序。共有八组随机数据,还能够计算出每组数据的处理时间,最终得到平均时间。-Quicksort array storage structure, to achieve the sort of number. A total of eight sets of random data, but also be able to calculate the processing time of each data, and eventually obtain the
C_Algorithma_datastruct_os
- 内容:操作系统相关算法,多线程,进程调度,死锁等 数据结构,堆栈,队列,链表,图论等 算法:数组,矩阵,海量数据处理,高精度计算,贪心算法,迷宫等:-Content: The operating system related algorithms, multi-threaded, process scheduling, deadlocks, etc. data structures, stacks, queues, linked lists, graph theory, etc. algor
juzhenzhuanzhi
- 有输入界面(图形或文字界面都可),能区分加法、减法、乘法和转置;能处理任意输入的典型数据和进行出错数据处理(例如乘法,当第一个矩阵的列数不等于第二个矩阵的行数时);必须采用三元组作存储结构,不能采用数组等形式;输出要求用矩阵的形式输出-Input interface (graphical or text interfaces are available), can distinguish addition, subtraction, multiplication and transpositio
The-array-
- 简单的数组处理的例子.新手学习使用.也算是学习过程中一个联系吧.-Simple example of an array of processing. Novices learn to use. Learning process can be considered a contact bar.
largerdataprocess
- 大数据快速处理方法,能够用数组储存结果,示例中求2的1000次方,能在很短的时间内完成,并且不需占用太大的内存-Rapid processing of large data methods can use an array to store the results, sample 1000 seeking a power of 2, can be completed within a very short time, and without taking up too much memory
4
- 本题关于排序与细节处理,故选择int数组作为数据结构。 算法思想如下:对于输入的数据,根据其后的‘+’‘-’,用a,b的数组分别记录染病和正常的动物的高度。然后分别将a,b两数组排序。对于其后的m组询问,分别求出要杀中的动物数量x和最多误杀的动物数量y,分别询问a,b数组的倒数x,y位置的元素,稍作处理,分别作为最高高度和最低高度输出(若不和逻辑,输出-1)。程序结束。 复杂度:本题的运算时间主要用于排序(快排),故复杂度为O(nlogn)。空间复杂度是 O(n)。 -This