673256_0_0_12529\Main.java:10: 需要数组,但找到 int
a[i]=s.nextInt();
^
673256_0_0_12529\Main.java:11: 需要数组,但找到 int
Sum[i]=(a[i]*(a[i]+1))/2;
^
673256_0_0_12529\Main.java:11: 需要数组,但找到 int
Sum[i]=(a[i]*(a[i]+1))/2;
^
673256_0_0_12529\Main.java:11: 需要数组,但找到 int
Sum[i]=(a[i]*(a[i]+1))/2;
^
673256_0_0_12529\Main.java:12: 需要数组,但找到 int
System.out.println(Sum[i]);
^
5 错误
|