Wrote /root/JavaX-Caches/tmp_1811917970/main.java - 1979 bytes (written=1979, should be 1979)
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_1511607624 /root/JavaX-Caches/tmp_1811917970/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1811917970/main.java:1: error: class, interface, or enum expected
!7
^
/root/JavaX-Caches/tmp_1811917970/main.java:3: error: class, interface, or enum expected
abstract sclass GameViewForAI {
^
/root/JavaX-Caches/tmp_1811917970/main.java:4: error: class, interface, or enum expected
abstract int w();
^
/root/JavaX-Caches/tmp_1811917970/main.java:5: error: class, interface, or enum expected
abstract int h();
^
/root/JavaX-Caches/tmp_1811917970/main.java:6: error: class, interface, or enum expected
abstract int getPixel(int x, int y);
^
/root/JavaX-Caches/tmp_1811917970/main.java:7: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1811917970/main.java:9: error: class, interface, or enum expected
abstract sclass AI {
^
/root/JavaX-Caches/tmp_1811917970/main.java:11: error: class, interface, or enum expected
int w, h;
^
/root/JavaX-Caches/tmp_1811917970/main.java:13: error: class, interface, or enum expected
int getPixel(int x, int y) {
^
/root/JavaX-Caches/tmp_1811917970/main.java:15: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1811917970/main.java:17: error: class, interface, or enum expected
abstract Pt nextClick();
^
/root/JavaX-Caches/tmp_1811917970/main.java:18: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1811917970/main.java:22: error: class, interface, or enum expected
int w = 500, h = 500;
^
/root/JavaX-Caches/tmp_1811917970/main.java:23: error: class, interface, or enum expected
int rw = 50, rh = 50, border = 10;
^
/root/JavaX-Caches/tmp_1811917970/main.java:24: error: class, interface, or enum expected
int x1, y1;
^
/root/JavaX-Caches/tmp_1811917970/main.java:26: error: class, interface, or enum expected
int w() { ret w; }
^
/root/JavaX-Caches/tmp_1811917970/main.java:26: error: class, interface, or enum expected
int w() { ret w; }
^
/root/JavaX-Caches/tmp_1811917970/main.java:27: error: class, interface, or enum expected
int h() { ret h; }
^
/root/JavaX-Caches/tmp_1811917970/main.java:32: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1811917970/main.java:36: error: class, interface, or enum expected
y1 = random(border, h-rh-border);
^
/root/JavaX-Caches/tmp_1811917970/main.java:37: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1811917970/main.java:43: error: class, interface, or enum expected
nextImage();
^
/root/JavaX-Caches/tmp_1811917970/main.java:44: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1811917970/main.java:50: error: illegal '.'
getPixel.....
^
/root/JavaX-Caches/tmp_1811917970/main.java:52: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1811917970/main.java:58: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1811917970/main.java:63: error: class, interface, or enum expected
for (int y = 0; y < h; y += 10)
^
/root/JavaX-Caches/tmp_1811917970/main.java:63: error: class, interface, or enum expected
for (int y = 0; y < h; y += 10)
^
/root/JavaX-Caches/tmp_1811917970/main.java:64: error: class, interface, or enum expected
for (int x = 0; x < w; x += 10)
^
/root/JavaX-Caches/tmp_1811917970/main.java:64: error: class, interface, or enum expected
for (int x = 0; x < w; x += 10)
^
/root/JavaX-Caches/tmp_1811917970/main.java:67: error: class, interface, or enum expected
null;
^
/root/JavaX-Caches/tmp_1811917970/main.java:68: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1811917970/main.java:73: error: class, interface, or enum expected
setOpt(ai, +game);
^
/root/JavaX-Caches/tmp_1811917970/main.java:74: error: class, interface, or enum expected
setOpt(ai, "w", game.w());
^
/root/JavaX-Caches/tmp_1811917970/main.java:75: error: class, interface, or enum expected
setOpt(ai, "h", game.h());
^
/root/JavaX-Caches/tmp_1811917970/main.java:76: error: class, interface, or enum expected
long step = 0;
^
/root/JavaX-Caches/tmp_1811917970/main.java:77: error: class, interface, or enum expected
pcall {
^
/root/JavaX-Caches/tmp_1811917970/main.java:80: error: class, interface, or enum expected
Pt p = ai.nextClick();
^
/root/JavaX-Caches/tmp_1811917970/main.java:81: error: class, interface, or enum expected
if (p == null) { print("AI resigned"); break; }
^
/root/JavaX-Caches/tmp_1811917970/main.java:81: error: class, interface, or enum expected
if (p == null) { print("AI resigned"); break; }
^
/root/JavaX-Caches/tmp_1811917970/main.java:81: error: class, interface, or enum expected
if (p == null) { print("AI resigned"); break; }
^
/root/JavaX-Caches/tmp_1811917970/main.java:84: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1811917970/main.java:87: error: class, interface, or enum expected
ret game.points;
^
/root/JavaX-Caches/tmp_1811917970/main.java:88: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1811917970/main.java:92: error: class, interface, or enum expected
pointsAfterNRounds(new MyAI, 10000);
^
/root/JavaX-Caches/tmp_1811917970/main.java:93: error: class, interface, or enum expected
pointsAfterNRounds(new RandomAI, 10000);
^
/root/JavaX-Caches/tmp_1811917970/main.java:94: error: class, interface, or enum expected
pointsAfterNRounds(new SearchingAI, 10000);
^
/root/JavaX-Caches/tmp_1811917970/main.java:95: error: class, interface, or enum expected
}
^
48 errors