- 博客(2)
- 收藏
- 关注
原创 MOOC:Big & Base 封闭类问题
描述 程序填空,输出指定结果 #include #include using namespace std; class Base { public: int k; Base(int n):k(n) { } }; class Big { public: int v; Base b; // 在此处补充你的代码 }; int main() { int n; while(cin >>n) ...
2020-02-28 17:40:59 2001 2
原创 MOOC:返回什么才好呢
输入 多组数据,每组一行,是整数 m 和 n 输出 先输出一行: 123 然后,对每组数据,输出两行,第一行是m,第二行是n 样例输入 2 3 4 5 样例输出 123 2 3 4 5 #include <iostream> using namespace std; class A { public: int val; A(int m) { val=m; } A()...
2020-02-28 12:11:57 1575 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人