#779. C++-重载运算符和重载函数-编程实现重载类成员访问运算符 ->

C++-重载运算符和重载函数-编程实现重载类成员访问运算符 ->

Background

Description

C++-重载运算符和重载函数-编程实现重载类成员访问运算符 -> image

Format

Input

Output

Samples


f()=10 g()=12
f()=11 g()=13
f()=12 g()=14
f()=13 g()=15
f()=14 g()=16
f()=15 g()=17
f()=16 g()=18
f()=17 g()=19
f()=18 g()=20
f()=19 g()=21

Limitation

1s, 1024KiB for each test case.