首页
Linux
Linux常用命令介绍
tmux和vim 工具
ssh登录常用命令
scp传文件
Git版本控制常用命令
docker常用命令
图库
瞬间
归档
留言板
关于我
友链
小郭的学习笔记
累计撰写
157
篇文章
累计创建
67
个标签
累计收到
1
条评论
栏目
首页
Linux
Linux常用命令介绍
tmux和vim 工具
ssh登录常用命令
scp传文件
Git版本控制常用命令
docker常用命令
图库
瞬间
归档
留言板
关于我
友链
目 录
CONTENT
最新文章
2024-01-02
高精度加法
高精度加法 #include<iostream> #include<vector> using namespace std; vector<int> add(vector<int> &A , vector<int> &B){ vector<int> c; int t = 0;
2024-01-02
56
0
0
2024-01-02
高精度乘法
高精度乘法 #include<iostream> #include<vector> using namespace std; vector<int> take(vector<int> &A, int b){ vector<int> c; int t = 0; for(i
2024-01-02
55
0
0
2024-01-02
单链表
单链表 #include<iostream> using namespace std; const int N = 100010; int e[N],ne[N],head,index; //e为value en存放下一个的index head为头结点 index为下标 //初始化链表 void i
2024-01-02
42
0
0
2024-01-02
归并排序
递归排序 源代码: #include<iostream> using namespace std; const int N = 1000010; int n; int q[N],tmp[N]; void maege_sort(int q[],int l, int r){ if(l >=
2024-01-02
56
0
0
2024-01-02
火柴棍等式
火柴棍等式 题解: #include<stdio.h> //用来计算一个数所需要火柴跟的总数 int fun(int x){ int num=0; // 用来计数的变量 int f[10] = {6, 2, 5, 5, 4, 5, 6, 3, 7, 6}; //用一个数组来记
2024-01-02
66
0
0
2024-01-02
解救小哈——广度优先搜索
解救小哈——广度优先搜索 题目描述: 有一天,小哈一个人去玩迷宫。但是方向感很不好的小哈很快就迷路了。小哼得知后便立即去解救无助的小哈。小哼当然是有备而来,已经弄清楚了迷宫的地图,现在小哼要以最快的速度去解救小哈。问题就此开始了…… 迷宫由m行n列的单元格组成的(m和n都小于50),每个单元格要么是
2024-01-02
58
0
0
2024-01-02
解救小哈——深度优先搜索
解救小哈——深度优先搜索 题目描述: 有一天,小哈一个人去玩迷宫。但是方向感很不好的小哈很快就迷路了。小哼得知后便立即去解救无助的小哈。小哼当然是有备而来,已经弄清楚了迷宫的地图,现在小哼要以最快的速度去解救小哈。问题就此开始了…… 迷宫由m行n列的单元格组成的(m和n都小于50),每个单元格要么是
2024-01-02
58
0
0
2024-01-02
高精度减法
高精度减法 #include<iostream> #include<vector> using namespace std; bool cmp(vector<int> &A , vector<int> &B){ //先判断长度是否相等于 if(A.size() != B.size(
2024-01-02
55
0
0
2024-01-02
判断回文数(栈实现)
判断回文数(栈实现) #include<iostream> using namespace std; const int N = 1e+5; int a[N],top = 0, stack[N]; int main(){ int n; cout << "请输入n:"; ci
2024-01-02
47
0
0
2024-01-02
区间和
区间和 #include <iostream> #include <algorithm> #include <vector> using namespace std; const int N = 300010; typedef pair<int ,int> PII; int n, m; int a
2024-01-02
49
0
0
1
2
3
4
5
...
16