AClite
AClite
全部文章
分类
归档
标签
去牛客网
登录
/
注册
AClite的博客
全部文章
(共3篇)
题解 | N阶楼梯上楼问题
#include <iostream> using namespace std; int main() { int n;cin>>n; int a[100]; a[1]=1;a[2]=2; for(int i=3;i<=n;i++) ...
2025-02-13
0
49
题解 | 二叉树遍历
#include <iostream> #include <string> using namespace std; typedef struct btree { struct btree *left; struct btree *right; ch...
2025-02-12
0
43
题解 | 二叉排序树
#include <iostream> using namespace std; typedef struct btree{ struct btree *left; struct btree *right; int data; }btree; int ans; btree *...
2025-02-12
0
41