星之月语
星之月语
全部文章
题解
归档
标签
去牛客网
登录
/
注册
星之月语的博客
全部文章
/ 题解
(共4篇)
题解 | #字符串#
">#include<map> using namespace std; int main(){ string str; getline(cin,str); int start=0,cnt=0,max1=str.length(); map<cha...
C++
2022-11-24
0
258
题解 | #Pair#
c++ java python #include <iostream> int main() { std::cout << "Hello World!"; return 0; } class HelloWorld { public ...
C++
并查集
2022-10-14
1
241
题解 | #Pair#
">#include<queue> using namespace std; int main(){ int n,k,m; scanf("%d %d %d",&n,&k,&m); int count=n; int x=0; queue<int&g...
C++
2022-09-30
0
302
题解 | #【模板】链表#
//数组模拟指针 #include using namespace std; const int N=100010; int e[N],idx,head,ne[N]; void intit(){ head=-1; idx=0; } void insert(int x,int y){//插入元素 in...
C++
链表
2022-04-09
2
398