Cppys
Cppys
全部文章
分类
归档
标签
去牛客网
登录
/
注册
Cppys的博客
全部文章
(共5篇)
题解 | 手机键盘
#include <bits/stdc++.h> using namespace std; // 先定义正确的键盘映射表(字母→(按键编号, 按键次数)) unordered_map<char, pair<int, int>> key_map = { {...
2026-02-24
0
23
题解 | 反序输出
#include <iostream> using namespace std; void reverse(string & s){ int start=0; int end = s.size()-1; while(start<end){ ...
2026-02-24
0
24
题解 | 代理服务器
#include <bits/stdc++.h> using namespace std; // 判断是否含0 bool all(vector<string>v,unordered_map<string,int>u){ for(auto i:v){ ...
2026-02-24
1
22
题解 | 约数的个数
#include <bits/stdc++.h> using namespace std; int Compute(int num){ if(num==1) return 1; long long n = 0; for(long long i =1;i*i<...
2026-02-24
0
22
题解 | 成绩排序
#include <iostream> #include <functional> #include <string> #include <vector> using namespace std; struct Student{ string...
2026-02-23
0
20