A+B from beiqiao(C++) 摘要:#include<iostream> using namespace std; int main() { int a,b; while(cin>>a>>b) //编译器…… 题解列表 2022年01月23日 0 点赞 0 评论 329 浏览 评分:0.0
简单字符串的不简单解法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int main(){ int N; string s; cin>>N; getl…… 题解列表 2022年01月22日 0 点赞 0 评论 371 浏览 评分:0.0
判断最后一个字符 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int main(){ string s1,s2; cin>>s1>>s2; in…… 题解列表 2022年01月22日 0 点赞 0 评论 346 浏览 评分:0.0
使用reverse求解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int main(){ string str; cin>>str; cout<<s…… 题解列表 2022年01月22日 0 点赞 0 评论 482 浏览 评分:0.0
使用stringstream求解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;vector<string>kk;int main(){ int N; strin…… 题解列表 2022年01月22日 0 点赞 0 评论 345 浏览 评分:0.0
使用getline求解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;vector<string>kk;int main(){ int N; strin…… 题解列表 2022年01月22日 0 点赞 0 评论 410 浏览 评分:0.0
2068: [STL训练]Ignatius and the Princess IV 摘要:使用数组和sort做的,简单易懂 ```` ### 来试试编辑一篇文章吧,祝```cpp #include #include #include using namespace std; …… 题解列表 2022年01月22日 0 点赞 0 评论 400 浏览 评分:0.0
优质题解 蓝桥杯历届试题-九宫重排C++ BFS+SET查重(目前本网站最简) 摘要:解题思路:我不喜欢啰嗦的代码,我用二维数组来做会让代码变得啰嗦,所以我用一维数组,那么上下左右走的方向数组可以换为一维数组的{-3, -1, 1, 3}结构体内的代码我只需要当前的状态state以及我…… 题解列表 2022年01月22日 0 点赞 1 评论 1628 浏览 评分:4.4
Minesweeper仅用数组超简单解法c++ 摘要:解题思路:1.输入m*n雷盘。 2.两个for循环检测是‘*’或‘.'。 如果是‘*’直接输出。 & 题解列表 2022年01月21日 0 点赞 0 评论 546 浏览 评分:9.9
自定义函数之字符提取 简单易懂 !! 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ string str; cin >> str; for (int i…… 题解列表 2022年01月21日 0 点赞 0 评论 392 浏览 评分:0.0