Wrote /root/JavaX-Caches/tmp_1275513206/main.java - 2715 bytes (written=2715, should be 2715)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_1271175716 /root/JavaX-Caches/tmp_1275513206/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1275513206/main.java:1: error: class, interface, or enum expected
static int leven_limitedIC(S left, S right, int threshold) {
^
/root/JavaX-Caches/tmp_1275513206/main.java:4: error: class, interface, or enum expected
int n = l(left); // length of left
^
/root/JavaX-Caches/tmp_1275513206/main.java:5: error: class, interface, or enum expected
int m = l(right); // length of right
^
/root/JavaX-Caches/tmp_1275513206/main.java:9: error: class, interface, or enum expected
if (n == 0)
^
/root/JavaX-Caches/tmp_1275513206/main.java:11: error: class, interface, or enum expected
if (m == 0)
^
/root/JavaX-Caches/tmp_1275513206/main.java:15: error: class, interface, or enum expected
if (abs(m-n) > threshold) ret threshold+1;
^
/root/JavaX-Caches/tmp_1275513206/main.java:17: error: class, interface, or enum expected
if (n > m) {
^
/root/JavaX-Caches/tmp_1275513206/main.java:19: error: class, interface, or enum expected
final S tmp = left;
^
/root/JavaX-Caches/tmp_1275513206/main.java:20: error: class, interface, or enum expected
left = right;
^
/root/JavaX-Caches/tmp_1275513206/main.java:21: error: class, interface, or enum expected
right = tmp;
^
/root/JavaX-Caches/tmp_1275513206/main.java:22: error: class, interface, or enum expected
n = m;
^
/root/JavaX-Caches/tmp_1275513206/main.java:23: error: class, interface, or enum expected
m = right.length();
^
/root/JavaX-Caches/tmp_1275513206/main.java:24: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1275513206/main.java:27: error: class, interface, or enum expected
int[] d = new int[n + 1]; // cost array, horizontally
^
/root/JavaX-Caches/tmp_1275513206/main.java:28: error: class, interface, or enum expected
int[] tempD; // placeholder to assist in swapping p and d
^
/root/JavaX-Caches/tmp_1275513206/main.java:31: error: class, interface, or enum expected
final int boundary = Math.min(n, threshold) + 1;
^
/root/JavaX-Caches/tmp_1275513206/main.java:32: error: class, interface, or enum expected
for (int i = 0; i < boundary; i++) {
^
/root/JavaX-Caches/tmp_1275513206/main.java:32: error: class, interface, or enum expected
for (int i = 0; i < boundary; i++) {
^
/root/JavaX-Caches/tmp_1275513206/main.java:32: error: class, interface, or enum expected
for (int i = 0; i < boundary; i++) {
^
/root/JavaX-Caches/tmp_1275513206/main.java:34: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1275513206/main.java:38: error: class, interface, or enum expected
Arrays.fill(d, Integer.MAX_VALUE);
^
/root/JavaX-Caches/tmp_1275513206/main.java:41: error: class, interface, or enum expected
for (long _j = 1; _j <= m; _j++) {
^
/root/JavaX-Caches/tmp_1275513206/main.java:41: error: class, interface, or enum expected
for (long _j = 1; _j <= m; _j++) {
^
/root/JavaX-Caches/tmp_1275513206/main.java:41: error: class, interface, or enum expected
for (long _j = 1; _j <= m; _j++) {
^
/root/JavaX-Caches/tmp_1275513206/main.java:43: error: class, interface, or enum expected
final char rightJ = right.charAt(j - 1); // jth character of right
^
/root/JavaX-Caches/tmp_1275513206/main.java:44: error: class, interface, or enum expected
d[0] = j;
^
/root/JavaX-Caches/tmp_1275513206/main.java:47: error: class, interface, or enum expected
final int min = Math.max(1, j - threshold);
^
/root/JavaX-Caches/tmp_1275513206/main.java:48: error: class, interface, or enum expected
final int max = j > Integer.MAX_VALUE - threshold ? n : Math.min(
^
/root/JavaX-Caches/tmp_1275513206/main.java:53: error: class, interface, or enum expected
if (min > max) {
^
/root/JavaX-Caches/tmp_1275513206/main.java:55: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1275513206/main.java:60: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1275513206/main.java:63: error: class, interface, or enum expected
for (int i = min; i <= max; i++) {
^
/root/JavaX-Caches/tmp_1275513206/main.java:63: error: class, interface, or enum expected
for (int i = min; i <= max; i++) {
^
/root/JavaX-Caches/tmp_1275513206/main.java:67: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_1275513206/main.java:71: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1275513206/main.java:76: error: class, interface, or enum expected
p = d;
^
/root/JavaX-Caches/tmp_1275513206/main.java:77: error: class, interface, or enum expected
d = tempD;
^
/root/JavaX-Caches/tmp_1275513206/main.java:78: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1275513206/main.java:85: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1275513206/main.java:87: error: class, interface, or enum expected
}
^
40 errors