Wrote /root/JavaX-Caches/tmp_1996210153/main.java - 1500 bytes (written=1500, should be 1500)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 1.8 -target 1.8 -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_1755152303 /root/JavaX-Caches/tmp_1996210153/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1996210153/main.java:3: error: class, interface, or enum expected
static int leven(String s, String t) {
^
/root/JavaX-Caches/tmp_1996210153/main.java:6: error: class, interface, or enum expected
if (s.length() == 0) return t.length();
^
/root/JavaX-Caches/tmp_1996210153/main.java:7: error: class, interface, or enum expected
if (t.length() == 0) return s.length();
^
/root/JavaX-Caches/tmp_1996210153/main.java:10: error: class, interface, or enum expected
L[] v0 = new ArrayList[t.length() + 1];
^
/root/JavaX-Caches/tmp_1996210153/main.java:11: error: class, interface, or enum expected
L[] v1 = new ArrayList[t.length() + 1];
^
/root/JavaX-Caches/tmp_1996210153/main.java:16: error: class, interface, or enum expected
for (int i = 0; i < v0.length; i++)
^
/root/JavaX-Caches/tmp_1996210153/main.java:16: error: class, interface, or enum expected
for (int i = 0; i < v0.length; i++)
^
/root/JavaX-Caches/tmp_1996210153/main.java:16: error: class, interface, or enum expected
for (int i = 0; i < v0.length; i++)
^
/root/JavaX-Caches/tmp_1996210153/main.java:19: error: class, interface, or enum expected
for (int i = 0; i < s.length(); i++)
^
/root/JavaX-Caches/tmp_1996210153/main.java:19: error: class, interface, or enum expected
for (int i = 0; i < s.length(); i++)
^
/root/JavaX-Caches/tmp_1996210153/main.java:19: error: class, interface, or enum expected
for (int i = 0; i < s.length(); i++)
^
/root/JavaX-Caches/tmp_1996210153/main.java:28: error: class, interface, or enum expected
for (int j = 0; j < t.length(); j++)
^
/root/JavaX-Caches/tmp_1996210153/main.java:28: error: class, interface, or enum expected
for (int j = 0; j < t.length(); j++)
^
/root/JavaX-Caches/tmp_1996210153/main.java:28: error: class, interface, or enum expected
for (int j = 0; j < t.length(); j++)
^
/root/JavaX-Caches/tmp_1996210153/main.java:31: error: class, interface, or enum expected
v1[j + 1] = Math.min(Math.min(v1[j] + 1, v0[j + 1] + 1), v0[j] + cost);
^
/root/JavaX-Caches/tmp_1996210153/main.java:32: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1996210153/main.java:39: error: class, interface, or enum expected
int[] v = v1; v1 = v0; v0 = v;
^
/root/JavaX-Caches/tmp_1996210153/main.java:39: error: class, interface, or enum expected
int[] v = v1; v1 = v0; v0 = v;
^
/root/JavaX-Caches/tmp_1996210153/main.java:40: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1996210153/main.java:46: error: class, interface, or enum expected
}
^
20 errors