wesl
wesl
全部文章
未归档
pat(4)
stl(4)
Unity(16)
归档
标签
去牛客网
登录
/
注册
wesl的博客
全部文章
/ 未归档
(共11篇)
单例模式详解
https://www.cnblogs.com/windpoplar/p/12944952.html https://m.runoob.com/design-pattern/singleton-pattern.html
2022-03-08
0
236
顺序查找,折半查找,分块查找(未完)
#include<iostream> #include<cmath> #include<vector> #include<string> #include<stdlib.h> #include<algorithm> using ...
2021-12-09
0
330
快排与希尔排序
#include<iostream> #include<cmath> #include<vector> #include<string> #include<stdlib.h> #include<algorithm> using ...
2021-12-09
0
379
djikstra shortest path
#include<iostream> #include <cstring> #include <algorithm> using namespace std; #define maxn 1000 #define infin 65555 int parent[max...
2021-12-03
0
311
邻接表形式的图的建立与dfs遍历
#include <vector> #include <iostream> #include <queue> using namespace std; const int maxn = 10000; #define N 6 bool visited[maxn];...
2021-12-02
0
384
OS银行家算法
#include <iostream> using namespace std; /*子函数声明*/ int Isprocessallover(); //判断系统中的进程是否全部运行完毕 void Systemstatus(); ...
2021-11-20
0
455
调度算法:优先级调度(OS)
#define _CRT_SECURE_NO_WARNINGS #include "stdio.h" #include "stdlib.h" #include "conio.h" #include "iostream" #define getpch(type) (type *)malloc(size...
2021-11-14
0
632
模拟散列表
#include <cstring> #include <iostream> using namespace std; const int maxn = 100003; unsigned long long e[maxn], ne[maxn], h[maxn], index...
2021-10-28
0
316
C++ STL unique和unique_copy 使用说明
说明 1 std::unique()std::unique()是C++17引入,用于去除相邻的重复元素。 比较是否相等的函数,默认是使用operator==,可以自定义比较函数。 所以常用的函数签名有如下两种: 使用默认的比较函数operator==template< class Forwa...
2021-09-14
0
489
remove的用法
https://blog.csdn.net/c_base_jin/article/details/50412726
2021-09-14
0
287
首页
上一页
1
2
下一页
末页