![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
代码详解
文章平均质量分 53
星陨云
软件工程本科在读
展开
-
KMP算法代码详解
kmp算法代码详解原创 2022-06-12 17:07:35 · 782 阅读 · 1 评论 -
归并排序代码详解(注释)
注:源代码和图片来自 合肥工业大学 计算机学院 方帅老师的课件侵权必删#include<iostream>using namespace std;//按照标号看void merg(int a[], int lmin, int rmin, int rmax)/*10、以最后四个数为例,lmin为数组首地址,记为左标记,rmin为右边第一个地址,即2的地址,记为右标记,rmax为数组末尾的地址。*/{ int temp;//11、定义一个可以临时变量储存值 while.原创 2021-11-30 13:59:09 · 537 阅读 · 0 评论