#18082. 考试十八 数列求和、平均值
考试十八 数列求和、平均值
说明
有一个数列an=1/(2(n2+n)),求前10项的和、平均值输入格式
无输出格式
第一行打印和;第二行打印平均值
no input needed0.454545
0.045455
第一行打印和;第二行打印平均值
no input needed0.454545
0.045455
By signing up a 算道OJ universal account, you can submit code and join discussions in all online judging services provided by us.