牛客226545250号
牛客226545250号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客226545250号的博客
全部文章
(共45篇)
题解 | 进制转换
#include <iostream> #include <cmath> using namespace std; int count(int i){ int res = 1; while(i>0){ res *= 16; ...
2025-08-20
0
18
题解 | 字符串分隔
#include <iostream> using namespace std; int main(int argc,char *argv[]) { string s; cin>>s; if(s.length() < 8){ /...
2025-08-20
0
14
题解 | 明明的随机数
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { // 明明随机数 int n; // 表示输入个数 ...
2025-08-20
0
15
题解 | 计算某字符出现次数
#include <iostream> using namespace std; int main() { string str; if(std::getline(cin,str)) { // 注意 while 处理多个 case // 解题思路,先将全部...
2025-08-20
0
14
题解 | 字符串最后一个单词的长度
#include <cstddef> #include <cstdio> #include <cstring> #include <iostream> #include <string> using namespace std; int ...
2025-08-20
0
15
首页
上一页
1
2
3
4
5
下一页
末页