牛客229883423号
牛客229883423号
全部文章
分类
题解(92)
归档
标签
去牛客网
登录
/
注册
牛客229883423号的博客
全部文章
(共92篇)
题解 | #取近似值#
#include <iostream> #include <math.h> using namespace std; int main() { float n; cin >> n; &...
C++
2022-04-20
0
165
题解 | #质数因子#
#include <iostream> #include <cmath> using namespace std; int main() { long n; cin >> n; &nbs...
C++
2022-04-20
0
189
题解 | #进制转换#
#include<iostream> #include<string> #include<math.h> using namespace std; int main(){ string s;  ...
C++
2022-04-20
0
191
题解 | #进制转换#
#include<iostream> #include<string> #include<math.h> using namespace std; int main(){ string s;  ...
C++
2022-04-20
1
490
题解 | #进制转换#
#include <iostream> #include <string> #include <sstream> using namespace std; int main() { string str; &nb...
C++
2022-04-20
0
146
题解 | #计算某字符出现次数#
#include #include using namespace std; int main() { string str; while (cin >> str) { // 补0 int len = str.size(); if (len % 8 != 0) { int count...
C++
2022-04-19
0
177
题解 | #计算某字符出现次数#
#include #include using namespace std; int main() { string str; getline(cin,str); int length = str.size(); int zs = length / 8; int ys = length % 8;...
C++
2022-04-19
0
172
题解 | #计算某字符出现次数#
#include #include using namespace std; int main() { string s; getline(cin, s); char c = tolower(getchar()); uint16_t n = 0; for (auto i : s) { ...
C++
2022-04-19
0
138
题解 | #计算某字符出现次数#
#include #include using namespace std; int main() { string str; char input; getline(cin,str); cin>>input; char lowInput = tolower(input); int ...
C++
2022-04-19
0
187
题解 | #计算某字符出现次数#
#include #include using namespace std; int main() { string str; char input; getline(cin,str); cin>>input; int length = str.size(); if(length &l...
C++
2022-04-19
0
160
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页