自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Ida

  • 博客(4)
  • 收藏
  • 关注

原创 PAT b1004 成绩排名 (20 分)

#include <iostream> using namespace std; struct student{ int grade; char name[11]; char id[11];//数组大小要大于10不然会出错 }; int main() { int n; scanf("%d",&n); student l,h;...

2019-08-03 16:25:19 109

原创 PTA 数据结构与算法题目集(中文)6-9 二叉树的遍历

1: void LevelorderTraversal( BinTree BT ){ BinTree Queue[1000]; //数据不大,1000够用 int top = -1; int tail = -1; if(BT)Queue[++tail] = BT; while(top<tail){ BinTree bt = Queue[++top]; ...

2019-07-16 21:14:40 221

原创 PTA b1002 写出这个数

#include <iostream> #include <string.h> using namespace std; int main() { char n[101]={'0'}; int i=0; scanf("%c",&n[0]); while(n[i]!='\n'){ scanf("%c",&...

2019-07-16 21:14:23 155

原创 PTA:数据结构与算法题目集(中文)

求二叉树深度: int GetHeight( BinTree BT ){ while(BT){ if(BT->Left==NULL&&BT->Right==NULL){ return 1; } else if(BT->Left==NULL&&BT->Right...

2019-06-09 02:35:45 1533

空空如也

空空如也

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

TA关注的人

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