填空题
深度为5的满二叉树有
【2】
个叶子结点。
【参考答案】
P
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
测试用例包括输入值集和 【1】 值集。
点击查看答案&解析
单项选择题
有如下程序: #include<iostream> using namespace std; class Base{ int x; public: Base(int n=0):x(n){cout<<n;) int getX()const{return x;} }; class Derived:public Base{ int y; public: Derived(int m,int n):y(m,)Base(n){cout<<m;} Derived(int m):y(m){cout<<m;} }; int main(){ Derived d1(3),d2(5,7) return 0; }运行时的输出结果是
A.375
B.357
C.0375
D.0357
点击查看答案&解析
相关试题
如下程序声明了一个二维图形类TwoDShape,...
如下程序声明了一个使用两个通用数据类型的...
在类中, 【10】 成员为类的所有对象所...
有如下程序:#include<iostream>using ...
有如下程序:#include<iostream>using ...