import java.util.Scanner; public class Main { /** * 数列 n .. 的前 m 项和 * 输入:81 4 2 2 * 输出: 94.73 3.41 */ public static void main(String[] args) { run(); } private static void nSum(int n, int m) { double res = n; double sum = 0; ...