JXH001
JXH001
全部文章
分类
归档
标签
去牛客网
登录
/
注册
JXH001的博客
全部文章
(共30篇)
题解 | #完数与盈数#
#include <iostream> #include<vector> #include<cstdio> using namespace std; int main() { vector<int>arr1; vector<int>ar...
2024-02-19
0
215
题解 | #String Matching#
#include<iostream> #include<string> using namespace std; int nextable[1000]; void getnext(string a, int n1) { int j = 0; nextable[j] = ...
2024-02-19
0
244
题解 | #单词替换#
#include<string> #include<iostream> using namespace std; int main() { string s1,s2,s3; string n = " "; while (getline(cin, s1...
2024-02-17
0
194
题解 | #首字母大写#
#include <iostream> #include<string> using namespace std; int main() { string s; while (getline(cin, s)) { int n = s.size(); if (...
2024-02-17
0
198
题解 | #Skew数#
#include<iostream> #include<string> using namespace std; int D(char a, int n) { int c = 1; int temp = a - '0'; for (int i = 0; i < n...
2024-02-16
0
229
题解 | #字母统计#
#include<string> #include<iostream> #include<cstdio> using namespace std; typedef struct { char k; int num; }T; int main() { T ar...
2024-02-16
0
198
题解 | #统计字符#
#include<iostream> #include<string> #include<cstdio> using namespace std; int main() { string s1, s2; while (getline(cin, s1)) { ...
2024-02-16
0
263
题解 | #简单密码#
#include<iostream> #include<string> #include<cstdio> using namespace std; int main() { string s1; while (getline(cin,s1)) { if ...
2024-02-16
0
190
题解 | #密码翻译#
#include<iostream> #include<string> #include<cstdio> using namespace std; int main() { string s; while (cin>>s) { for ...
2024-02-16
0
211
题解 | #特殊乘法#
#include <iostream> #include<string> using namespace std; int trans(char a) { int temp = a - '0'; return temp; } int main() { ...
2024-02-16
0
203
首页
上一页
1
2
3
下一页
末页