题目 1123: C语言训练-列出最简真分数序列* 摘要:#include<stdio.h> int main(void){ int arr[20]={0}; int i,j=0,num=0,mark; for(i=2;i<40;…… 文章列表 2023年06月18日 0 点赞 0 评论 109 浏览 评分:0.0
快速排序C++ 摘要:```cpp #include #include using namespace std; int part(int* r, int low, int hight) //划分函数 { …… 文章列表 2023年07月05日 0 点赞 0 评论 200 浏览 评分:0.0
归并排序C++ 摘要:```cpp #include #include using namespace std; void merge(vector& nums, int left, int mid, int ri…… 文章列表 2023年07月05日 0 点赞 0 评论 197 浏览 评分:0.0
插入排序C++ 摘要:```cpp #include #include using namespace std; void insert_sort(vector &nums){ int n = nums.…… 文章列表 2023年07月05日 0 点赞 0 评论 189 浏览 评分:0.0
大连交通大学五年制C语言试卷三 考试笔记 摘要:5、在以下给出的表达式中,与do-while(E)语句中的(E)不等价的表达式是( )。答案:B A. (E>0||E<0) B. (E==0) C. (!E…… 文章列表 2023年07月07日 0 点赞 0 评论 137 浏览 评分:0.0
大连交通大学五年制C语言试卷七 考试笔记 摘要:7、在所有函数之前,定义一个外部变量的形式为static int x;那么错误的叙述是( )。正确答案:A A. x的值不可以永久保留 B. 将变量存放在静态存储区 …… 文章列表 2023年07月07日 0 点赞 0 评论 178 浏览 评分:0.0
lrc解析 main.c 1 摘要://main.c#include<stdio.h>#include<ctype.h>#include<stdlib.h>#include<string.h>#include<time.h>#inclu…… 文章列表 2023年07月08日 0 点赞 0 评论 117 浏览 评分:0.0
lrc解析 other.h 2 摘要://other.h文件#ifndef __OTHER_H__ //防止重定义格式#define __OTHER_H__struct lrc { //定义一个链表串起时间和歌词 …… 文章列表 2023年07月08日 0 点赞 0 评论 144 浏览 评分:0.0
lrc解析器 other.c 3 摘要://other.c#include<stdio.h>#include<ctype.h>#include<stdlib.h>#include<string.h>#include<time.h>#incl…… 文章列表 2023年07月08日 0 点赞 0 评论 106 浏览 评分:0.0
堆排序,提取前K个值 摘要:```cpp class Solution { public: //维护堆的性质 void maxHeapify(vector &nums, int change, int Heap…… 文章列表 2023年07月09日 0 点赞 0 评论 158 浏览 评分:0.0