|
|
@ -20,21 +20,12 @@ class Main { |
|
|
|
//gebe das gespeicherte feld auf der console aus |
|
|
|
output(field); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private static void output(int[][] field) { |
|
|
|
|
|
|
|
//1,2,3,4,5,6 |
|
|
|
for (int i = 0; i < 10; i++) { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//1+2+3+4+5+6+7+..... |
|
|
|
//1*2*3*4 |
|
|
|
//1*2, 1*3, 1*4.... , 2*1, 2* |
|
|
|
|
|
|
|
for (int i = 0; i < SCOUNT; i++) { |
|
|
|
|
|
|
|
for (int j = 0; j < SCOUNT; j++) { |
|
|
@ -55,6 +46,7 @@ class Main { |
|
|
|
System.out.println(line); |
|
|
|
|
|
|
|
String substring = line.substring(line.indexOf('(')+1, line.indexOf(')')); |
|
|
|
|
|
|
|
String[] split = substring.split(","); |
|
|
|
|
|
|
|
int[] transaction = new int[split.length]; |
|
|
|