3Qstark
3Qstark
全部文章
hwOJ
huawei(1)
Leecode(1)
Tips(1)
总结类(2)
未归档(1)
归档
标签
去牛客网
登录
/
注册
学习刷题记录博客
Stay hungry,stay foolish
全部文章
/ hwOJ
(共17篇)
OJ7
取正浮点数的近似整数值 #include <iostream> using namespace std; int main() { double d; cin >> d; cout << static_cast<int>(d ...
2021-05-14
0
278
OJ6
找long型整数的所有质因数,并输出 #include <iostream> #include <cmath> using namespace std; int main(){ long LL; cin >> LL ; // LL的质因子一定...
2021-05-13
0
415
OJ5
基本的进制转换,不过要把16进制的数以字符串的形式输进来,然后进行处理 #include <iostream> #include <string> #include <cmath> using namespace std; int main(){ st...
2021-05-11
0
315
OJ4
字符串分割:按长度8拆分字符串并输出新的字符串,长度不是8的直接补“0” #include <iostream> #include <string> using namespace std; int main(){ string str; while(ci...
2021-05-11
0
303
OJ3
明明的随机数,实现多组数据输入情况下的去重和排序操作 #include <iostream> #include <set> using namespace std; int main(){ int N , n; set<int> ss; ...
2021-05-08
0
313
OJ2
计算某字母出现的次数 ABCabcA2 /*由于不清楚C++字符串类的大小写转换的函数,只能将要比较的字符进行了转换*/ #include<iostream> #include<string> using namespace std; int main() { s...
2021-05-05
0
303
OJ1
计算字符串最后一个单词的长度,字符以空格隔开 #include <iostream> #include <string> #include <vector> //using namespace std; int main(){ int count = ...
2021-05-05
0
265
首页
上一页
1
2
下一页
末页