Fuyuyu_Yuzu_Suki
Fuyuyu_Yuzu_Suki
全部文章
分类
归档
标签
去牛客网
登录
/
注册
Fuyuyu_Yuzu_Suki的博客
TA的专栏
78篇文章
0人订阅
华为机试刷题记录
78篇文章
424人学习
全部文章
(共102篇)
题解 | #LRU Cache#
#include <iostream> #include <map> using namespace std; class ListNode { public: int val; int key; ListNode* pre; ListNod...
2023-08-14
0
637
题解 | #人民币转换#
#include <iostream> using namespace std; #include <string> #include <list> string n2c(int num) { string res; switch (num) {...
2023-03-30
0
299
题解 | #记票统计#
#include <iostream> using namespace std; #include <map> #include <string> #include <list> int main() { int num1, num2; cin &...
2023-03-30
0
331
题解 | #数组分组#
#include <iostream> using namespace std; #include <vector> #include <list> bool func(const list<int> &nums, list<int>::...
2023-03-30
0
365
题解 | #表示数字#
#include <iostream> using namespace std; #include <string> #include <cctype> int main() { string str; getline(cin, str); ...
2023-03-29
0
298
题解 | #自守数#
#include <iostream> using namespace std; bool isO(int x) { int x2 = x * x; int x3 = x2 - x; bool res = false; if (x < 10) { ...
2023-03-29
0
309
题解 | #等差数列#
#include <iostream> using namespace std; int main() { int x; cin >> x; int result = ((2 + 2 +3 * (x-1))*x/2); cout <&l...
2023-03-29
0
244
题解 | #输入整型数组和排序标识,对其元素按照进行排序#
#include <iostream> using namespace std; #include <list> bool sortU(int a,int b){ if(a>b){ return false; } return ...
2023-03-29
0
345
题解 | #字符统计#
#include <iostream> using namespace std; #include <string> #include <set> #include <cctype> #include <list> bool mySort...
2023-03-29
0
292
题解 | #Redraiment的走法#
#include <iostream> using namespace std; #include <vector> int main() { int num; cin >> num; vector<int> nums(num,...
2023-03-29
0
284
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页