摘要: public static int height(BinTree T) { if (T == null) { return -1; } else { return Math.max(height(T.left), height(T.right)) + 1; } } /** Return the di 阅读全文
posted @ 2023-05-31 20:25 哎呦_不想学习哟~ 阅读(16) 评论(0) 推荐(0)
摘要: 1.说明下列每对scanf格式串是否等价?如果不等价,请指出它们的差异。 (c) "%f"与"%f "。 在 `scanf` 函数中,`"%f"` 和 `"%f "` 这两种格式的区别在于后面的空格。 1. `scanf("%f", &variable);` 这种情况下,`scanf` 会读取并解析 阅读全文
posted @ 2023-05-31 18:23 哎呦_不想学习哟~ 阅读(197) 评论(0) 推荐(0)