回答編集履歴
1
バグの修正
test
CHANGED
@@ -12,9 +12,9 @@
|
|
12
12
|
|
13
13
|
private static double a(int[] p) {double r = 0.0;for(int c: p){r+=c;} return r/p.length;}
|
14
14
|
|
15
|
-
private static void b(int[][] pa) {for(int[] d:pa){double e=a(d);
|
15
|
+
private static void b(int[][] pa) {for(int[] d : pa){double e = a(d);int i=0;for(i=0;i<B.length;i++){if(e<B[i]){break;}}System.out.println(E[i]);}}
|
16
16
|
|
17
|
-
private static boolean c()
|
17
|
+
private static boolean c(){return B.length + 1 == E.length;}
|
18
18
|
|
19
19
|
|
20
20
|
|