渺小小螃蟹
渺小小螃蟹
全部文章
题解
归档
标签
去牛客网
登录
/
注册
渺小小螃蟹的博客
全部文章
/ 题解
(共54篇)
题解 | #二叉排序树#
#include<iostream> #include<cstdio> using namespace std; struct Treenode{ int data; Treenode* leftchild; Treenode* rightchild...
2021-07-01
0
544
题解 | #二叉排序树#
#include<iostream> using namespace std; struct Treenode{ int data; Treenode* leftchild; Treenode* rightchild; Treenode(int c):d...
2021-07-01
0
506
题解 | #二叉树遍历#
#include <iostream> #include <cstdio> #include <string> using namespace std; struct TreeNode{ char data; TreeNode * leftch...
2021-07-01
0
593
题解 | #杨辉三角形#
#include<iostream> using namespace std; int fun(int x,int y) { if(y==1||x==y) { return 1; } else { return fun(x-1,y-1)...
2021-06-10
1
466
题解 | #鸡兔同笼#
#include<iostream> #include<cstdio> using namespace std; int main() { int a; while(scanf("%d",&a) !=EOF){ ...
2021-06-10
0
525
题解 | #矩阵幂#
#include<iostream> #include<cstdio> using namespace std; struct Matrix{ int matrix[10][10]; int row,col; //行与列 Matri...
2021-06-10
3
625
题解 | #计算两个矩阵的乘积#
#include<iostream> #include<cstdio> using namespace std; struct Matrix{ int matrix[3][3]; int row,col; //行与列 Matrix(...
2021-06-10
0
576
题解 | #进制转换2#
#include<iostream> #include<cstdio> #include<string> #include<vector> using namespace std; char IntToChar(int x){ //数字转字符 ...
2021-06-10
0
592
题解 | #10进制 VS 2进制#
#include<iostream> #include<cstdio> #include<string> #include<vector> using namespace std; string Divide(string str,int x) ...
2021-06-10
2
579
题解 | #进制转换#
#include<iostream> #include<cstdio> #include<string> #include<vector> using namespace std; string Divide(string str,int x) ...
2021-06-08
0
683
首页
上一页
1
2
3
4
5
6
下一页
末页