2025-01-18归并排序 归并排序模板123456789101112131415161718192021222324int n;const int N=1e5+5;int a[N],tmp[N];void ms(int l,int r){ if(l>=r) return; int mid=l+r>>1; ms(l,mid); ms(mid+1,r); int k=0 2025-01-18 寒假练题计划 > 基础算法 #cpp #algorithm #ACwing #sort
2025-01-18快速排序 快速排序模板12345678910111213141516int n;int a[N];void qs(int l,int r){ if(l>=r) return;//判断递归退出 int x=a[(l+r)/2],i=l-1,j=r+1; while(i<j){ do i++; while(a[i]<x); do j--; whi 2025-01-18 寒假练题计划 > 基础算法 #cpp #algorithm #ACwing #sort
寒假题单 ACWing基础大全第一讲 基础算法完成情况:20/20 包括排序、二分、高精度、前缀和与差分、双指针算法、位运算、离散化、区间合并等内容。 快速排序AcWing 785. 快速排序AcWing 786. 第k个数归并排序AcWing 787. 归并排序AcWing 788. 逆序对的数量二分AcWing 789. 数的范围AcWing 790. 数的三次方根高精度AcWing 79 2025-01-18 寒假练题计划 > 题单 #cpp #algorithm #ACwing
博客文章导出为md 博客文章导出为md为什么要弄这个由于博客文章内容是基于静态的md文件,我想找一个方法将发在CSDN上的文章全部导进来,结果我看到了这篇文章: CSDN、掘金、简书博客文章如何转为Markdown?_csdn文章转markdown-CSDN博客 操作步骤步骤很简单,就是浏览器打开文章页面,f12开发者模式,复制 “article_content”一整个标签内容为outer HTML,然后打开下面网站 2025-01-17 博客搭建 #markdown #tool #CSDN
Hello World Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick 2025-01-17 博客搭建 #blog #Hexo #Fluid
test.md This is a post for test本文是对新博客编辑器功能的测试。 配置指南 1. Mermaid graph TD A[Alice] --> B[Bob] A --> C[Carol] B --> D[Dave] C --> D C --> E[Eve] D --> F[Frank] E - 2025-01-17 博客搭建 #blog #test