自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 PTA 数据结构 04-树4 是否同一棵二叉搜索树 (25分)

下面给出代码: #include<iostream> using namespace std; typedef struct TreeNode *Tree; struct TreeNode { int data; Tree Left,Right; int flag;//访问标记 }; Tree NewNode(int data)//创造结点 { Tree T; T=new T...

2019-12-18 11:26:36 217

原创 PTA 数据结构 03-树1 树的同构(25分)

PTA 数据结构 03-树1 树的同构 (25分) 下面给出老师的代码: `#include #define Null -1 #define MaxTree 10 #define Tree int #define ElementType char using namespace std; struct TreeNode { Tree Left; Tree right; ElementType El...

2019-12-17 17:02:00 222 1

原创 C++程序设计基础7.3.2(周霭如编著)

7.3.2 假设某销售公司有销售经理和销售员工,月工资的计算方法是… 下面给出自己写的答案代码: #include<iostream> #define N 20 using namespace std; class employee//员工 { protected: float number;//编号 char name[N];//姓名 float salary;//工资 pub...

2019-11-25 20:40:51 1026

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除