Skip to content

Commit 2724681

Browse files
committed
update
1 parent 11c2b82 commit 2724681

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Testers/ממן14/Tester.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static void main(String[] args) {
3838
System.out.println(BAD);
3939
System.out.println("\t\t\t The Array: " + printArr(temp));
4040
System.out.println("\t\t\t Expected: " + what(temp));
41-
System.out.println("\t\t\t Your stupid method: " + Ex14.what(temp));
41+
System.out.println("\t\t\t Your method: " + Ex14.what(temp));
4242
}
4343

4444
}
@@ -58,7 +58,7 @@ public static int[][] generateArrays() {
5858
Random rnd = new Random();
5959

6060
for (int i = 0; i < mat.length; i++) {
61-
mat[i] = new int[rnd.nextInt(30)];
61+
mat[i] = new int[rnd.nextInt(30) + 1];
6262
for (int j = 0; j < mat[i].length; j++) {
6363
mat[i][j] = (int) ((Math.random() * 200) - 100);
6464
}

0 commit comments

Comments
 (0)