文章列表

301 1 分钟

# # 输出函数 print 12345print(内容)print("字符串") //任意引号print(a,b,"c") //不换行输出,逗号隔开print(chr(98)) //输出ASCII码对应字符chr()print(ord('b')) //输出对应字符的ASCII码ord('') # 使用 print...
10k 9 分钟

# <二叉树> # 二叉树函数 # 二叉树的存储结构 12345typedef struct BiTNode{ TElemType data;//数据域 struct BiTNode *lchild, *rchild;//左右孩子}BiTNode, *BiTree; # 二叉树的操作 # 创建二叉树 12345678910111213int InitTree(BiTree &T){ TElemType a; scanf("%d",...