题解列表

筛选

简单的a+b (C语言代码)

摘要:解题思路:注意事项:参考代码:  1 #include<stdio.h>  2 int main()  3 {  4     int a=0,b=0;      printf("please inpu……

汽水瓶 (Java代码)

摘要:参考代码:import java.util.Scanner; public static void main(String[] args) { Scanner sc=new Scanner(S……

母牛的故事 (C语言代码)

摘要:解题思路:前三年是1 2 3,从第四年开始是三年前的数量加上去年的数量注意事项:程序需要不止一次输入年份(以输入0为终止)参考代码:#include<stdio.h>int main(){ int a……
优质题解

Manchester- 数据结构-线索二叉树

摘要:解题思路:第一次写线索二叉树,根据一般二叉树的知识,和题目提示代码,以及课本代码凑出来了这个程序,接下来就讲一讲什么如何修改课本代码,需要添加什么,才能使程序运行①:void InOrderThrea……