摘要: 英文DescriptionAn organic compound is any member of a large class of chemical compounds whose molecules contain carbon. The molar m... 阅读全文
posted @ 2018-07-23 13:07 ZJ_MRZ 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 时间:1s 空间:128M题目描述:给你一棵以1为根的树,求树的深度输入格式:第一行输入一个整数n,表示树的总点数 第二行输入n−1个数,第i个数表示i+1的父节点标号输出格式:输出一个整数表示树的深度(根节点的深度为1)样例输入:4 1 2 3样例输出... 阅读全文
posted @ 2018-07-23 10:40 ZJ_MRZ 阅读(210) 评论(0) 推荐(0) 编辑