救世歌姬
救世歌姬
全部文章
分类
归档
标签
去牛客网
登录
/
注册
救世歌姬的博客
TA的专栏
0篇文章
0人订阅
HUST机试
0篇文章
0人学习
全部文章
(共11篇)
题解 | a+b
#include <bits/stdc++.h> using namespace std; int main() { int num1 = 0; int num2 = 0; while(cin>>num1>>num2){ cout<<num1...
2026-03-06
0
4
题解 | 最长&最短文本
#include <bits/stdc++.h> using namespace std; int main() { vector<string> minLenStr; vector<string> maxLenStr; string str; int m...
2026-03-06
0
3
题解 | 二叉排序树
#include <bits/stdc++.h> using namespace std; typedef struct TreeNode { int data; struct TreeNode *left, *right; }; void insertBST(TreeNode* &...
2026-03-06
0
7
题解 | 字符串连接
#include <iostream> using namespace std; int main() { string str1; string str2; cin>>str1>>str2; cout<<str1 + str2<<...
2026-03-05
0
8
题解 | IP地址
#include <bits/stdc++.h> using namespace std; //将字符串用'.'分隔开 vector<string> split(string input) { vector<string> parts; string temp...
2026-03-05
0
9
题解 | 排序
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int n = 0; while(cin>>n) { ve...
2026-03-05
0
7
题解 | 二叉排序树
#include <iostream> #include <cstdlib> using namespace std; typedef struct TreeNode { int data; struct TreeNode *left,*right; }; void pr...
2026-03-05
0
7
题解 | 找位置
#include <iostream> #include <map> #include <vector> #include <string> using namespace std; int main() { //用于记录字符出现的顺序 vect...
2026-03-05
0
12
题解 | 矩阵最大值
#include <iostream> #include <vector> using namespace std; int main() { int m,n; while(cin>>m>>n) { vector<vector<in...
2026-03-04
1
10
题解 | 最大的两个数
#include <iostream> #include <cstring> using namespace std; int main() { int matrix[4][5]; int matrix_copy[4][5]; for (int i = 0; i <...
2026-03-04
0
7
首页
上一页
1
2
下一页
末页