自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 问答 (1)
  • 收藏
  • 关注

原创 【无标题】

求二叉树中值为x的节点的层次

2022-11-16 09:00:00 103 1

原创 例题:假设一颗二叉树中每个结点值为单个字符,采用二叉链存储结构存储。设计一个算法,先序遍历方法输出从根节点到每个叶子结点的路径

广义表生成二叉树,遍历每条路径

2022-11-15 10:00:00 4182

原创 二叉树的先序遍历和逆先序遍历输出

由广义表生成二叉树,进行先序和逆先序遍历

2022-11-14 02:00:00 602

原创 二叉树的先序遍历和逆先序遍历输出

由广义表生成二叉树,进行先序和逆先序遍历

2022-11-09 23:11:36 281

原创 OpenJudge1.3 答案

01:A+B问题#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]){ int a,b,c; scanf("%d %d",&a,&b); c=a+b; p

2022-04-29 12:29:54 3028

原创 Openjudge 1.1答案

01:Hello, World!#include <stdio.h>#include <stdlib.h>#include <stdbool.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(){ printf("Hello, World!\n"); return 0;}0

2022-03-08 16:22:21 6534

原创 OpenJudge1.4答案

01:判断数正负#include <stdio.h>#include <stdlib.h>#include <math.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]){ long N; scanf("%ld",&N); i

2022-01-13 19:47:16 3692 1

原创 OpenJudge1.6答案

01:与指定数字相同的数的个数#include <stdio.h>#include <math.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]){ int n,medium,m[100],i=1

2022-01-12 20:35:58 6266

原创 Open judge1.5答案

01:求平均年龄#include <stdio.h>#include <stdlib.h>#include <math.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]){ int n,count=0,ages=0,middle=0;

2022-01-12 15:18:49 3045

空空如也

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

TA关注的人

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