文章列表

筛选

快速排序C++

摘要:```cpp #include #include using namespace std; int part(int* r, int low, int hight) //划分函数 { ……

归并排序C++

摘要:```cpp #include #include using namespace std; void merge(vector& nums, int left, int mid, int ri……

插入排序C++

摘要:```cpp #include #include using namespace std; void insert_sort(vector &nums){ int n = nums.……

大连交通大学五年制C语言试卷七 考试笔记

摘要:7、在所有函数之前,定义一个外部变量的形式为static int x;那么错误的叙述是( )。正确答案:A        A. x的值不可以永久保留        B. 将变量存放在静态存储区    ……

lrc解析 main.c 1

摘要://main.c#include<stdio.h>#include<ctype.h>#include<stdlib.h>#include<string.h>#include<time.h>#inclu……

lrc解析 other.h 2

摘要://other.h文件#ifndef __OTHER_H__   //防止重定义格式#define __OTHER_H__struct lrc {      //定义一个链表串起时间和歌词      ……

lrc解析器 other.c 3

摘要://other.c#include<stdio.h>#include<ctype.h>#include<stdlib.h>#include<string.h>#include<time.h>#incl……

堆排序,提取前K个值

摘要:```cpp class Solution { public: //维护堆的性质 void maxHeapify(vector &nums, int change, int Heap……