喜欢唱跳rap篮球的青年求offer
喜欢唱跳rap篮球的青年求offer
全部文章
分类
归档
标签
去牛客网
登录
/
注册
喜欢唱跳rap篮球的青年求offer的博客
全部文章
(共14篇)
题解 | #坐标移动#
#include <cctype> #include <iostream> #include <vector> #include <string> using namespace std; bool isvalued(const string& s)...
2023-03-07
0
348
题解 | #最长回文子串#
#include <iostream> using namespace std; int findhui(string& s, int i){ int res = 1; int j = i - 1; int k = i + 1; while(j >...
2023-03-06
0
324
题解 | #百钱买百鸡问题#
#include <iostream> #include <vector> using namespace std; int main() { int n; cin >> n; vector<int> aa(3); for (...
2023-02-20
0
324
题解 | #查找输入整数二进制中1的个数#
#include <iostream> using namespace std; int main() { int n; while(cin >> n){ int tot = 0; while(n) { int a = n%2; if...
2023-02-12
0
257
题解 | #查找组成一个偶数最接近的两个素数#
#include <iostream> #include <vector> using namespace std; int main() { vector<int> shushu = {1,2,3}; for(int i = 4 ; i <=10...
2023-02-12
0
294
题解 | #完全数计算#
#include <iostream> #include <vector> using namespace std; int main() { int n; cin >> n; int tot = 0; for(int i ...
2023-02-12
0
253
题解 | #统计每个月兔子的总数#
#include <iostream> #include <vector> using namespace std; int main() { int n; cin >> n; vector<int> rabbit(2,0); for(in...
2023-02-11
0
243
题解 | #蛇形矩阵#
#include <iostream> using namespace std; int main() { int n; cin >> n; int row = 1; int t =2; int i =1; int j = n; int time...
2023-02-11
0
308
题解 | #字符串排序#
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int n; cin >> n; vector...
2023-02-10
0
259
题解 | #图片整理#
#include <algorithm> #include <iostream> using namespace std; int main() { string s; cin >>s; sort(s.begin(), s.end()); ...
2023-02-10
0
275
首页
上一页
1
2
下一页
末页