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

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

/root/JavaX-Caches/tmp_1508124744/main.java:1: error: class, interface, or enum expected sclass AIStrategy_Racer_RandomWithVary<A> extends AIStrategy<A> { ^ /root/JavaX-Caches/tmp_1508124744/main.java:4: error: class, interface, or enum expected F1<A> vary; ^ /root/JavaX-Caches/tmp_1508124744/main.java:7: error: class, interface, or enum expected int discardEvery = 5000; ^ /root/JavaX-Caches/tmp_1508124744/main.java:10: error: class, interface, or enum expected AIStrategy_RandomWithVariation<A> leader, overtaker; ^ /root/JavaX-Caches/tmp_1508124744/main.java:11: error: class, interface, or enum expected new Best<A> leadersBest; ^ /root/JavaX-Caches/tmp_1508124744/main.java:12: error: class, interface, or enum expected int roundsSinceChange; ^ /root/JavaX-Caches/tmp_1508124744/main.java:14: error: class, interface, or enum expected public bool step() { go(); false; } ^ /root/JavaX-Caches/tmp_1508124744/main.java:14: error: class, interface, or enum expected public bool step() { go(); false; } ^ /root/JavaX-Caches/tmp_1508124744/main.java:14: error: class, interface, or enum expected public bool step() { go(); false; } ^ /root/JavaX-Caches/tmp_1508124744/main.java:17: error: unclosed character literal ret copyFields(this, new AIStrategy_RandomWithVariation, 'random, 'vary); ^ /root/JavaX-Caches/tmp_1508124744/main.java:17: error: unclosed character literal ret copyFields(this, new AIStrategy_RandomWithVariation, 'random, 'vary); ^ /root/JavaX-Caches/tmp_1508124744/main.java:18: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1508124744/main.java:23: error: class, interface, or enum expected A guess = leader.guess(); ^ /root/JavaX-Caches/tmp_1508124744/main.java:24: error: class, interface, or enum expected if (guess == null) ret; ^ /root/JavaX-Caches/tmp_1508124744/main.java:25: error: class, interface, or enum expected double score = submit(guess); ^ /root/JavaX-Caches/tmp_1508124744/main.java:26: error: class, interface, or enum expected leader.updateBest(guess, score); ^ /root/JavaX-Caches/tmp_1508124744/main.java:27: error: class, interface, or enum expected leadersBest.put(guess, score); ^ /root/JavaX-Caches/tmp_1508124744/main.java:28: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_1508124744/main.java:30: error: class, interface, or enum expected A guess = overtaker.guess(); ^ /root/JavaX-Caches/tmp_1508124744/main.java:31: error: class, interface, or enum expected if (guess == null) ret; ^ /root/JavaX-Caches/tmp_1508124744/main.java:32: error: class, interface, or enum expected double score = submit(guess); ^ /root/JavaX-Caches/tmp_1508124744/main.java:33: error: class, interface, or enum expected overtaker.updateBest(guess, score); ^ /root/JavaX-Caches/tmp_1508124744/main.java:34: error: class, interface, or enum expected if (score > leadersBest.score()) { ^ /root/JavaX-Caches/tmp_1508124744/main.java:38: error: class, interface, or enum expected leader = overtaker; ^ /root/JavaX-Caches/tmp_1508124744/main.java:39: error: class, interface, or enum expected overtaker = null; ^ /root/JavaX-Caches/tmp_1508124744/main.java:40: error: class, interface, or enum expected roundsSinceChange = 0; ^ /root/JavaX-Caches/tmp_1508124744/main.java:41: error: class, interface, or enum expected } else if (roundsSinceChange++ >= discardEvery) { ^ /root/JavaX-Caches/tmp_1508124744/main.java:45: error: class, interface, or enum expected overtaker = null; ^ /root/JavaX-Caches/tmp_1508124744/main.java:46: error: class, interface, or enum expected roundsSinceChange = 0; ^ /root/JavaX-Caches/tmp_1508124744/main.java:47: error: class, interface, or enum expected } ^ 30 errors