Despacito_Wang
Despacito_Wang
全部文章
未归档
归档
标签
去牛客网
登录
/
注册
Despacito_Wang的博客
蒟蒻!
全部文章
/ 未归档
(共49篇)
逆序并查集 与merge合并
https://vjudge.net/contest/496336#problem/K 2021东北四省赛 [Cloned] K - City #include<bits/stdc++.h> using namespace std; typedef long long ll; int n...
C++
2022-03-14
1
568
位运算
//https://oj.neauacm.cn/problem.php?cid=1206&pid=10 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N = 2e5+9; ...
C++
2022-03-13
0
357
__int128模板
#include<iostream> #include<algorithm> using namespace std; typedef long long ll; __int128 read() { __int128 x = 0,f = 1; char c = get...
C++
2022-03-10
0
239
学习python!
python 字符串不支持修改 ''' a = [1,2,3,4] a[1 : 3] = ['a','b'] a[1 : 3] = [2] a[ : ] = [] print(a) ''' ''' import copy a = [[1,2],3,4] #b = copy.copy(a) 浅拷贝...
Python3
2022-02-18
0
485
记忆化搜索!
交替调用DFS #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N = 509; int a[N]; int f1[N],f2[N]; int n; int dfs1(int u);...
C++
2022-02-17
1
435
格式输出
#include<iostream> #include<math.h> using namespace std; #define PI acos(-1) int main() { int t; cin >> t; while(t--) ...
C++
2022-02-15
0
329
stl 常见用法
csdn 这个人的空间很详细! c++ string string 转 int stoi char 转 int atoi 从0开始截取size() - 1个0 与 弄出size() - 1个'9'; string s; cin >> s; if(s.substr(0,s.size() ...
C++
2022-02-14
0
501
算法总结知识点
时间优化 阶乘和 //阶乘和,用打表法,预处理所有的阶乘mod1e9+7; #include<bits/stdc++.h> using namespace std; int inf=0x3f3f3f3f; const int maxn=1e5+9; const int mod=1e9+7...
C++
2022-01-30
0
333
#STL
string https://www.acwing.com/problem/content/4218/ #include<bits/stdc++.h using namespace std; int main() { string s,cs; cs = "aeiouy"; ...
C++
字符串
2022-01-30
0
354
首页
上一页
1
2
3
4
5
下一页
末页