最长字符(sf12k) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string s;&n…… 题解列表 2025年06月02日 0 点赞 0 评论 103 浏览 评分:0.0
stringstream /set去重(sf12j) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ strin…… 题解列表 2025年06月02日 0 点赞 0 评论 99 浏览 评分:0.0
getline输入字符串可包含空格(sf12i) 摘要:解题思路:注意事项:' '和" "不同参考代码:#include<bits/stdc++.h>using namespace std;int main(…… 题解列表 2025年06月02日 0 点赞 0 评论 90 浏览 评分:0.0
map办法(sf12h) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string s; cin>>s; …… 题解列表 2025年06月02日 0 点赞 0 评论 87 浏览 评分:0.0
截取字符串的某段(sf12g) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; st…… 题解列表 2025年06月02日 0 点赞 0 评论 86 浏览 评分:0.0
全排列(sf12f) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string s1; …… 题解列表 2025年06月02日 0 点赞 0 评论 88 浏览 评分:0.0
全排列next_permuntation()(sf12e) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[9]={1,2,3,4,5,6,7,8,9};//7254=…… 题解列表 2025年06月02日 0 点赞 0 评论 89 浏览 评分:0.0
mp方法(sf12d) 摘要:解题思路:注意事项:容易超时参考代码:#include<bits/stdc++.h>using namespace std;int main(){ map<string,string…… 题解列表 2025年06月02日 0 点赞 0 评论 90 浏览 评分:0.0
set\vector\map综合应用(sf12c) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int change(int x)//将x转化为字符型,对x的个位十位百…… 题解列表 2025年06月02日 0 点赞 0 评论 89 浏览 评分:0.0
set去重且排序(sf12b) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ set<int>myset; //s…… 题解列表 2025年06月02日 0 点赞 0 评论 93 浏览 评分:0.0