一只菜弱鸡
一只菜弱鸡
全部文章
分类
未归档(3)
题解(60)
归档
标签
去牛客网
登录
/
注册
一只菜弱鸡的博客
全部文章
(共65篇)
题解 | #字符串排序#
#include <iostream> #include <algorithm> #include <string> #include <vector> using namespace std; int main() { int n; ...
C++
字符串
2022-04-11
0
343
题解 | #简单密码#笨蛋解法
#include <string> using namespace std; int main () { string str; cin >> str; for(char ch : str) { if(ch>='a'&a...
C++
2022-04-11
0
326
题解 | #明明的随机数#
#include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int n,m; cin >> n; vector<...
C++
2022-04-11
0
395
题解 | #字符逆序#
using namespace std; int main() { string str; getline(cin,str); for (int i = (str.length() - 1) ; i >= 0; i--) cout <<st...
C++
2022-04-11
0
318
题解 | #求最小公倍数#
using namespace std; int main() { int m ,n; cin>>m>>n; int a1 = m; int b1 = n; //储存原始数据 if (m<n){ int tmp = m; m...
C++
2022-04-11
1
514
首页
上一页
1
2
3
4
5
6
7
下一页
末页