0_0_36912480_15009\Main.java:8: 错误: 可能尚未初始化变量j for(i=1;j<=n;++i){ ^ 0_0_36912480_15009\Main.java:11: 错误: 可能尚未初始化变量a ans+=a; ^ 0_0_36912480_15009\Main.java:13: 错误: 可能尚未初始化变量ans System.out.println(ans); ^ 3 个错误