#618. 类派生继承
类派生继承
No testdata at current.
Background
Special for beginners, ^_^
Description
创建基类CShape有宽和高的变量,并创建基类CPaintCost计算涂料(paint)成本,定义CRectangle从CShape和CPaintCost继承。
Format
Input
Two integers x and y, satisfying .
Output
One integer, the sum of x and y.
Samples
123 500
623
Limitation
1s, 1024KiB for each test case.