Responsive image

直接做该问题,请点击这里。
参与竞赛做该题,请点击以下竞赛项目.
This problem is in Contest(s) below:
Contest 1777:22计科3-继承基础训练题
Contest 1778:22计科4-继承基础训练题
Contest 1779:22计科2-继承基础训练题
Contest 2077:23计1--C++继承基础
Contest 2078:23计2--C++继承基础
Contest 1487:继承基础训练题
Contest 1776:22计科1-继承基础训练题