semaxcong
semaxcong
全部文章
分类
归档
标签
去牛客网
登录
/
注册
semaxcong的博客
全部文章
(共13篇)
题解 | #大整数排序#
#include<iostream> #include<queue> #include<string> using namespace std; struct str{ string s; int len; str(string str...
2023-02-21
0
396
题解 | #成绩排序#
#include<iostream> #include<queue> #include<string> using namespace std; struct stu{ string name; int age; int grade; ...
2023-02-21
0
195
题解 | #回文字符串#
#include<iostream> #include<string> #include<algorithm> using namespace std; int main(){ string str1; while(getline(cin,st...
2023-02-21
0
186
题解 | #统计单词#
#include<iostream> #include<string> #include<vector> using namespace std; int main(){ string str; while(getline(cin,str)){...
2023-02-21
0
227
题解 | #最长&最短文本#
#include<iostream> #include<string> #include<map> using namespace std; int main(){ string str; multimap<int,string> ...
2023-02-21
1
230
题解 | #最小年龄的3个职工#
#include<iostream> #include<queue> using namespace std; struct worker{ int id; string name; int age; worker(int i,string ...
2023-02-20
0
169
题解 | #查找第K小数#
#include<iostream> #include<queue> using namespace std; int main(){ int n; while(cin>>n){ int k,num,j=1,ans; //ans...
2023-02-18
1
228
题解 | #单词替换#
#include<bits/stdc++.h> using namespace std; int main(){ string str,s1,s2; while(getline(cin,str)){ vector<string> vec; ...
2023-02-13
0
198
题解 | #首字母大写#
#include<bits/stdc++.h> using namespace std; int main(){ string str; while(getline(cin,str)){ string::iterator it=str.begin();...
2023-02-13
0
156
题解 | #后缀子串排序#
#include<bits/stdc++.h> using namespace std; int main(){ string str; while(cin>>str){ int i=str.length(); set<...
2023-02-13
0
193
首页
上一页
1
2
下一页
末页