这道题目思路很简单,最重要的考察点就是对小数点输出的掌握System.out.printf("%.1f\n",float); import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNext()){ int n = sc.nextInt(); int fu = 0; ...