巧克力冰淇淋蛋糕
巧克力冰淇淋蛋糕
全部文章
分类
归档
标签
去牛客网
登录
/
注册
巧克力冰淇淋蛋糕的博客
全部文章
(共49篇)
题解 | #多态实现计算器功能#
#include <iostream> using namespace std; class BaseCalculator { public: int m_A; int m_B; // write your code here...... virtu...
2023-10-05
0
272
题解 | #求长方体表面积#
#include<bits/stdc++.h> using namespace std; class rectangle { private: int length, width; public: rectangle(int x, int y) { ...
2023-10-05
0
223
题解 | #构建长方体类#
#include<bits/stdc++.h> using namespace std; class rectangle { private: int length, width; public: rectangle(int x, int y) { ...
2023-10-05
0
225
题解 | #重写子类计算逻辑#
#include <iostream> using namespace std; class Base { private: int x; int y; public: Base(int x, int y) { this->x ...
2023-10-05
0
197
题解 | #重载小于号#
#include <iostream> using namespace std; class Time { public: int hours; // 小时 int minutes; // 分钟 Time() { hour...
2023-10-05
0
251
题解 | #创建动态数组#
#include <iostream> using namespace std; int main() { int n; cin >> n; // write your code here...... for (int i = 0; i ...
2023-10-05
0
212
题解 | #编写函数实现字符串翻转(引用方式)#
#include<bits/stdc++.h> using namespace std; #include<string> // write your code here...... string Reverse(string& s) { char temp;...
2023-10-05
0
273
题解 | #编写函数实现两数交换(引用方式)#
#include <iostream> using namespace std; // write your code here...... void swap(int& m, int& n) { int temp; temp = m; m = ...
2023-10-05
0
201
题解 | #加号运算符重载#
#include <iostream> using namespace std; class Time { public: int hours; // 小时 int minutes; // 分钟 Time() { hour...
2023-10-04
0
219
题解 | #长方形的关系#
#include<bits/stdc++.h> #include<string> using namespace std; class rectangle { private: int length, width; public: void set(i...
2023-10-04
0
219
首页
上一页
1
2
3
4
5
下一页
末页