Fuyuyu_Yuzu_Suki
Fuyuyu_Yuzu_Suki
全部文章
分类
归档
标签
去牛客网
登录
/
注册
Fuyuyu_Yuzu_Suki的博客
TA的专栏
78篇文章
0人订阅
华为机试刷题记录
78篇文章
424人学习
全部文章
(共102篇)
题解 | #判断两个IP是否属于同一子网#
来自专栏
#include <iostream> using namespace std; #include <string> #include <sstream> unsigned str2us(string str) { string num; uns...
2023-03-07
0
333
题解 | #统计字符#
来自专栏
#include <iostream> using namespace std; #include <cctype> #include <string> int main() { string str; getline(cin,str); ...
2023-03-07
0
274
题解 | #求小球落地5次后所经历的路程和第5次反弹的高度#
来自专栏
#include <iostream> using namespace std; int main() { float hight; cin >> hight; float s = 0; for(int i = 0;i < 5;i++)...
2023-03-07
0
224
题解 | #统计每个月兔子的总数#
来自专栏
#include <iostream> using namespace std; int cnt(int n){ if(n == 1 || n == 2){ return 1; } else{ return cnt(n-1) + ...
2023-03-07
0
212
题解 | #字符串加密#
来自专栏
#include <iostream> using namespace std; #include <string> #include <sstream> #include <map> #include <cctype> int main(...
2023-03-07
0
239
题解 | #整数与IP地址间的转换#
来自专栏
#include <iostream> using namespace std; #include <string> #include <vector> #include <sstream> #include <cmath> int v2...
2023-03-06
0
232
题解 | #密码截取#
来自专栏
#include <iostream> using namespace std; #include <string> #include <vector> int main() { string str; getline(cin, str); ...
2023-03-06
0
302
题解 | #字符串合并处理#
来自专栏
#include <iostream> using namespace std; #include <string> #include <algorithm> #include <cctype> string reSort(string a) { ...
2023-03-06
0
223
题解 | #素数伴侣#
来自专栏
#include <iostream> using namespace std; #include <cmath> #include <vector> #include <map> bool isPri(int x) { for (int i ...
2023-03-06
0
288
题解 | #蛇形矩阵#
来自专栏
#include <iostream> using namespace std; int main() { int num; cin >> num; int start = 1; int out; for(int i = 0; i&l...
2023-03-03
0
199
首页
上一页
2
3
4
5
6
7
8
9
10
11
下一页
末页