想潜水的土拨鼠已run
想潜水的土拨鼠已run
全部文章
分类
归档
标签
去牛客网
登录
/
注册
想潜水的土拨鼠已run的博客
全部文章
(共3篇)
题解 | #完数与盈数#
#include<iostream> using namespace std; int main() { cout<<"E: 6 28 G: 2 12 18 20 24 30 36 40 42 48 54 56 60"<<endl; ...
2024-03-01
2
203
题解 | #二叉搜索树#
用Insert函数构建二叉搜索树,判断时同样再构建一个树,分别对其前序遍历,判断遍历序列是否相等 #include <iostream> using namespace std; struct TreeNode{ char s_data; TreeNode *left;...
2024-01-27
0
175
题解 | #神奇的口袋#
#include <iostream> #include <cstring> #include <algorithm> using namespace std; const int MAX = 20; int stuff[MAX]; int sum=0 ; ...
2024-01-24
1
198