Wrote /root/JavaX-Caches/tmp_1526142808/main.java - 3050 bytes (written=3050, should be 3050) 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_1701148182 /root/JavaX-Caches/tmp_1526142808/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_1526142808/main.java:1: error: class, interface, or enum expected !636 ^ /root/JavaX-Caches/tmp_1526142808/main.java:11: error: illegal character: '#' !include #1000353 // class JavaTok ^ /root/JavaX-Caches/tmp_1526142808/main.java:15: error: class, interface, or enum expected static new (Hash)Map<String, Function> functions; ^ /root/JavaX-Caches/tmp_1526142808/main.java:30: error: '(' or '[' expected new StringBuilder buf; ^ /root/JavaX-Caches/tmp_1526142808/main.java:39: error: class, interface, or enum expected psvm { ^ /root/JavaX-Caches/tmp_1526142808/main.java:41: error: class, interface, or enum expected parseAsJavaExpression(); ^ /root/JavaX-Caches/tmp_1526142808/main.java:43: error: class, interface, or enum expected replaceStringConstant("<all iois>", "#681"); ^ /root/JavaX-Caches/tmp_1526142808/main.java:44: error: class, interface, or enum expected replaceStringConstant("<latest ioi>", "#1000384"); ^ /root/JavaX-Caches/tmp_1526142808/main.java:45: error: class, interface, or enum expected loadSnippetID1(); ^ /root/JavaX-Caches/tmp_1526142808/main.java:50: error: class, interface, or enum expected functions.put("contains", new Function() { ^ /root/JavaX-Caches/tmp_1526142808/main.java:51: error: class, interface, or enum expected public Object process(Object[] args) { ^ /root/JavaX-Caches/tmp_1526142808/main.java:53: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1526142808/main.java:56: error: class, interface, or enum expected System.out.println("Result: " + ((Call) in).eval()); ^ /root/JavaX-Caches/tmp_1526142808/main.java:57: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1526142808/main.java:61: error: class, interface, or enum expected new Call c; ^ /root/JavaX-Caches/tmp_1526142808/main.java:62: error: class, interface, or enum expected c.function = tok.get(1); ^ /root/JavaX-Caches/tmp_1526142808/main.java:63: error: class, interface, or enum expected c.args = new String[] { unquote(tok.get(5)), unquote(tok.get(9)) }; ^ /root/JavaX-Caches/tmp_1526142808/main.java:64: error: class, interface, or enum expected in = c; ^ /root/JavaX-Caches/tmp_1526142808/main.java:65: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1526142808/main.java:69: error: class, interface, or enum expected for (int i = 0; i < c.args.length; i++) ^ /root/JavaX-Caches/tmp_1526142808/main.java:69: error: class, interface, or enum expected for (int i = 0; i < c.args.length; i++) ^ /root/JavaX-Caches/tmp_1526142808/main.java:69: error: class, interface, or enum expected for (int i = 0; i < c.args.length; i++) ^ /root/JavaX-Caches/tmp_1526142808/main.java:72: error: class, interface, or enum expected in = c; ^ /root/JavaX-Caches/tmp_1526142808/main.java:73: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1526142808/main.java:77: error: class, interface, or enum expected for (int i = 0; i < c.args.length; i++) ^ /root/JavaX-Caches/tmp_1526142808/main.java:77: error: class, interface, or enum expected for (int i = 0; i < c.args.length; i++) ^ /root/JavaX-Caches/tmp_1526142808/main.java:77: error: class, interface, or enum expected for (int i = 0; i < c.args.length; i++) ^ /root/JavaX-Caches/tmp_1526142808/main.java:80: error: class, interface, or enum expected break; ^ /root/JavaX-Caches/tmp_1526142808/main.java:81: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1526142808/main.java:83: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1526142808/main.java:89: error: class, interface, or enum expected if (o instanceof List) { ^ /root/JavaX-Caches/tmp_1526142808/main.java:91: error: class, interface, or enum expected for (Object x : (List) o) ^ /root/JavaX-Caches/tmp_1526142808/main.java:93: error: class, interface, or enum expected return l; ^ /root/JavaX-Caches/tmp_1526142808/main.java:94: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1526142808/main.java:99: error: class, interface, or enum expected if (o instanceof Object[]) { ^ /root/JavaX-Caches/tmp_1526142808/main.java:101: error: class, interface, or enum expected Object[] l2 = l.clone(); ^ /root/JavaX-Caches/tmp_1526142808/main.java:102: error: class, interface, or enum expected for (int i = 0; i < l.length; i++) ^ /root/JavaX-Caches/tmp_1526142808/main.java:102: error: class, interface, or enum expected for (int i = 0; i < l.length; i++) ^ /root/JavaX-Caches/tmp_1526142808/main.java:102: error: class, interface, or enum expected for (int i = 0; i < l.length; i++) ^ /root/JavaX-Caches/tmp_1526142808/main.java:104: error: class, interface, or enum expected return l2; ^ /root/JavaX-Caches/tmp_1526142808/main.java:105: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1526142808/main.java:109: error: class, interface, or enum expected Object clone = o.getClass().newInstance(); ^ /root/JavaX-Caches/tmp_1526142808/main.java:110: error: class, interface, or enum expected for (Field field : fields) { ^ /root/JavaX-Caches/tmp_1526142808/main.java:113: error: class, interface, or enum expected Object value; ^ /root/JavaX-Caches/tmp_1526142808/main.java:114: error: class, interface, or enum expected value = field.get(o); ^ /root/JavaX-Caches/tmp_1526142808/main.java:115: error: class, interface, or enum expected field.set(clone, clone(value)); ^ /root/JavaX-Caches/tmp_1526142808/main.java:116: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1526142808/main.java:118: error: class, interface, or enum expected } ^ 48 errors