宿伞之神
宿伞之神
全部文章
分类
归档
标签
去牛客网
登录
/
注册
宿伞之神的博客
一个菜鸡的博客
全部文章
(共46篇)
题解 | #【模板】最小生成树#
克鲁斯卡尔模板。 #include<bits/stdc++.h> // #define int long long #define double long double #define x first #define y second using namespace std; typed...
2024-11-27
0
23
题解 | #【模板】单源最短路Ⅲ ‖ 非负权图#
Dijkstra #include<bits/stdc++.h> #define int long long #define double long double #define x first #define y second using namespace std; typedef ...
2024-11-27
0
29
题解 | #【模板】单源最短路Ⅰ ‖ 无权图#
注意题目是有向图。 #include<bits/stdc++.h> // #define int long long #define double long double #define x first #define y second using namespace std; type...
2024-11-27
0
28
题解 | #小苯的数字权值#
#include<bits/stdc++.h> #define int long long #define double long double #define x first #define y second using namespace std; typedef long long...
2024-11-26
1
30
题解 | #小红的取模构造#
讨论。 #include<bits/stdc++.h> #define int long long #define double long double #define x first #define y second using namespace std; typedef long ...
2024-11-26
1
29
题解 | #小美的外卖订单编号#
分类讨论题。 #include<bits/stdc++.h> #define int long long #define double long double #define x first #define y second using namespace std; typedef lo...
2024-11-26
1
37
题解 | #【模板】快速幂Ⅰ ‖ 整数#
快速幂模板。 #include<bits/stdc++.h> #define int long long #define double long double #define x first #define y second using namespace std; typedef lo...
2024-11-26
0
33
题解 | #小红和小紫的取素因子游戏#
将 x 分解质因子后判断奇偶即可。 #include<bits/stdc++.h> #define int long long #define double long double #define x first #define y second using namespace std;...
2024-11-26
1
39
题解 | #游游的最小公倍数#
要等于,且 和 要尽可能接近 。 #include<bits/stdc++.h> #define int long long #define double long double #define x first #define y second using namespace std...
2024-11-26
1
39
题解 | #【模板】整数域三分#
三分模板。 #include<bits/stdc++.h> #define int long long #define double long double #define x first #define y second using namespace std; typedef lon...
2024-11-24
1
31
首页
上一页
1
2
3
4
5
下一页
末页