自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 贵州大学在线判题系统-面向对象程序设计-第三次在线作业

记录学习,或有不足,欢迎参考第一题 题干:有两个类Base1和Base2和它们的共同子类Derived。现在Base1、Base2和main函数的代码已经完成。请根据已有的代码完成类Derived的设计。(只需要提交类Derived的代码)程序的开始部分如下:#include <iostream>using namespace std;class Base1{ int a;public: Base1(int a):a(a){

2022-04-18 14:19:49 3275 6

原创 贵州大学在线判题系统-面向对象程序设计-第二次在线作业

记录学习,写的不好,能凑活用。第一题#include <iostream>#include <string>#include <cmath>using namespace std;class Worker {public: Worker(string a, string b, double c); static void printSalary();private: string name, position; ..

2022-04-17 18:42:42 2503 1

原创 贵州大学在线判题系统oj-面向对象程序设计-第一次在线作业

以培养贵大懒汉为己任,减少潜在竞争对手。萌新写的问题肯定多多,轻喷。第一题#include <iostream>#include <string>using namespace std;class Test {public: int DataLength(const string& a) { return a.length(); } int DataLength(int b) { int d = 1; while ((b /= 10)

2022-04-06 23:43:16 4399 3

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除