回答編集履歴

1

intに配列つめてたので修正

2020/07/07 04:12

投稿

momon-ga
momon-ga

スコア4820

test CHANGED
@@ -12,17 +12,17 @@
12
12
 
13
13
  //データの格納
14
14
 
15
- for(int i = 0; i < args.length; i +=2) {
15
+ for(int i = 0; i < args.length; i +=2 ) {
16
16
 
17
17
  names[i] = args[i];
18
18
 
19
- score[i][0] = args[i + 1];
19
+ score[i][0] = args[i + 1]; // Parse必要
20
20
 
21
- total += score[i];
21
+ total += score[i][0];
22
22
 
23
23
  }
24
24
 
25
- // 標準偏差を求める
25
+ // 平均と標準偏差を求める
26
26
 
27
27
 
28
28