You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
397 B
19 lines
397 B
public class Out {
|
|
static final String[] output = new String[50000];
|
|
static int line = 0;
|
|
|
|
public static void println(String string) {
|
|
output[line++] = string;
|
|
}
|
|
|
|
public static void println() {
|
|
output[line++] = "";
|
|
}
|
|
|
|
public static void toConsole() {
|
|
for (int i = 0; i < line; i++) {
|
|
System.out.println(output[i]);
|
|
}
|
|
}
|
|
}
|