摘要:
Problem A: 默认参数:求圆面积 Time Limit: 1 Sec Memory Limit: 128 MB Description 编写一个带默认值的函数,用于求圆面积。其原型为: double area(double r=1.0); 当调用函数时指定参数r,则求半径为r的圆的面积;否则 阅读全文
摘要:
Problem A: 默认参数:求圆面积 Time Limit: 1 Sec Memory Limit: 128 MB Description 编写一个带默认值的函数,用于求圆面积。其原型为: double area(double r=1.0); 当调用函数时指定参数r,则求半径为r的圆的面积;否则 阅读全文
|