威猛的磨洋工匠人allin实习
威猛的磨洋工匠人allin实习
全部文章
分类
归档
标签
去牛客网
登录
/
注册
威猛的磨洋工匠人allin实习的博客
全部文章
(共39篇)
题解 | 完数VS盈数
#include <iostream> #include<vector> using namespace std; int is_wanshu(int n){ vector<int> factors; for(int i=1;i<=n/2;...
2025-08-17
0
36
题解 | 首字母大写
#include <iostream> #include <string> using namespace std; int main() { string str; while (getline(cin,str)) { // 注意 while 处理多个 c...
2025-08-16
0
31
题解 | 统计字符
#include <iostream> #include <string> using namespace std; int main() { string cs,str; while (getline(cin, cs)) { if(cs=...
2025-08-15
0
31
题解 | 简单密码
#include <iostream> #include <cstdio> #include <string> using namespace std; int main() { string str; while (getline(cin, s...
2025-08-15
0
31
题解 | 密码翻译
#include <iostream> #include <string> using namespace std; int main() { string str; while (getline(cin, str)) { // 注意 while 处理多个 ...
2025-08-15
0
35
题解 | 特殊乘法
#include <iostream> #include <string> using namespace std; int main() { string str1, str2; while (cin >> str1 >> str2...
2025-08-15
0
36
题解 | 找位置
#include <algorithm> #include <cstring> #include <iostream> #include <vector> #include <utility> using namespace std; s...
2025-08-15
0
40
题解 | 找最小数
#include <algorithm> #include <iostream> using namespace std; struct my_pair{ int x; int y; }; my_pair mp[1005]; bool cmp(my_p...
2025-08-15
0
42
题解 | 查找
#include <algorithm> #include <iostream> using namespace std; int arr[105]; bool RS(int target,int l,int r){ while(l<r){ ...
2025-08-15
0
30
题解 | 奥运排序问题
#include <algorithm> #include <iostream> using namespace std; struct out{ int rank; //0:金牌总数 1奖牌总数 2金牌人口比 3奖牌人口比 int type;//1...
2025-08-14
0
34
首页
上一页
1
2
3
4
下一页
末页