Wrote /root/JavaX-Caches/tmp_364490154/main.java - 2549 bytes (written=2549, should be 2549)
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_895754090 /root/JavaX-Caches/tmp_364490154/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_364490154/main.java:1: error: class, interface, or enum expected
persistable sclass OctagonalIntegralImage {
^
/root/JavaX-Caches/tmp_364490154/main.java:2: error: class, interface, or enum expected
final int w, h;
^
/root/JavaX-Caches/tmp_364490154/main.java:5: error: class, interface, or enum expected
final int[2][] data;
^
/root/JavaX-Caches/tmp_364490154/main.java:8: error: class, interface, or enum expected
final int[][] columnSums = new int[3][];
^
/root/JavaX-Caches/tmp_364490154/main.java:10: error: class, interface, or enum expected
*(RGBImage img) {
^
/root/JavaX-Caches/tmp_364490154/main.java:12: error: class, interface, or enum expected
h = img.h();
^
/root/JavaX-Caches/tmp_364490154/main.java:13: error: class, interface, or enum expected
data1 = new int[w*h*3];
^
/root/JavaX-Caches/tmp_364490154/main.java:14: error: class, interface, or enum expected
int i = 0;
^
/root/JavaX-Caches/tmp_364490154/main.java:15: error: class, interface, or enum expected
for x to w: {
^
/root/JavaX-Caches/tmp_364490154/main.java:19: error: class, interface, or enum expected
int r = (rgb >> 16) & 0xFF;
^
/root/JavaX-Caches/tmp_364490154/main.java:20: error: class, interface, or enum expected
int g = (rgb >> 8) & 0xFF;
^
/root/JavaX-Caches/tmp_364490154/main.java:21: error: class, interface, or enum expected
int b = rgb & 0xFF;
^
/root/JavaX-Caches/tmp_364490154/main.java:24: error: class, interface, or enum expected
data[i] = r + sumAt(x-1, y-1) + sumAt(x-1, y+1) - sumAt(x-1, y);
^
/root/JavaX-Caches/tmp_364490154/main.java:25: error: class, interface, or enum expected
data[i+1] = r + sumAt(x-1, y-1) + sumAt(x-1, y+1) - sumAt(x-1, y);
^
/root/JavaX-Caches/tmp_364490154/main.java:26: error: class, interface, or enum expected
data[i+2] = r + sumAt(x-1, y-1) + sumAt(x-1, y+1) - sumAt(x-1, y);
^
/root/JavaX-Caches/tmp_364490154/main.java:27: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_364490154/main.java:33: error: class, interface, or enum expected
h = img.getHeight();
^
/root/JavaX-Caches/tmp_364490154/main.java:34: error: class, interface, or enum expected
if (longMul(w, h) > 8000000) fail("Image too big: " + w + "*" + h);
^
/root/JavaX-Caches/tmp_364490154/main.java:35: error: class, interface, or enum expected
int[] pixels = pixelsOfBufferedImage(img);
^
/root/JavaX-Caches/tmp_364490154/main.java:36: error: class, interface, or enum expected
for i over data:
^
/root/JavaX-Caches/tmp_364490154/main.java:39: error: class, interface, or enum expected
for i over columnSums:
^
/root/JavaX-Caches/tmp_364490154/main.java:42: error: class, interface, or enum expected
int i = 0, j = 0, sumR = 0, sumG = 0, sumB = 0;
^
/root/JavaX-Caches/tmp_364490154/main.java:43: error: class, interface, or enum expected
for x to w: {
^
/root/JavaX-Caches/tmp_364490154/main.java:45: error: class, interface, or enum expected
data[i++] = (sumR += (rgb >> 16) & 0xFF);
^
/root/JavaX-Caches/tmp_364490154/main.java:46: error: class, interface, or enum expected
data[i++] = (sumG += (rgb >> 8) & 0xFF);
^
/root/JavaX-Caches/tmp_364490154/main.java:47: error: class, interface, or enum expected
data[i++] = (sumB += rgb & 0xFF);
^
/root/JavaX-Caches/tmp_364490154/main.java:48: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_364490154/main.java:49: error: class, interface, or enum expected
for (int y = 1; y < h; y++) {
^
/root/JavaX-Caches/tmp_364490154/main.java:49: error: class, interface, or enum expected
for (int y = 1; y < h; y++) {
^
/root/JavaX-Caches/tmp_364490154/main.java:51: error: class, interface, or enum expected
for x to w: {
^
/root/JavaX-Caches/tmp_364490154/main.java:53: error: class, interface, or enum expected
sumR += (rgb >> 16) & 0xFF;
^
/root/JavaX-Caches/tmp_364490154/main.java:54: error: class, interface, or enum expected
sumG += (rgb >> 8) & 0xFF;
^
/root/JavaX-Caches/tmp_364490154/main.java:55: error: class, interface, or enum expected
sumB += rgb & 0xFF;
^
/root/JavaX-Caches/tmp_364490154/main.java:56: error: class, interface, or enum expected
data[i] = sumR + data[i-w*3];
^
/root/JavaX-Caches/tmp_364490154/main.java:57: error: class, interface, or enum expected
data[i+1] = sumG + data[i-w*3+1];
^
/root/JavaX-Caches/tmp_364490154/main.java:58: error: class, interface, or enum expected
data[i+2] = sumB + data[i-w*3+2];
^
/root/JavaX-Caches/tmp_364490154/main.java:59: error: class, interface, or enum expected
i += 3;
^
/root/JavaX-Caches/tmp_364490154/main.java:60: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_364490154/main.java:68: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_364490154/main.java:73: error: class, interface, or enum expected
int i = (y*w+x)*3;
^
/root/JavaX-Caches/tmp_364490154/main.java:74: error: class, interface, or enum expected
ret data[i]+data[i+1]+data[i+2];
^
/root/JavaX-Caches/tmp_364490154/main.java:75: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_364490154/main.java:79: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_364490154/main.java:83: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_364490154/main.java:85: error: class, interface, or enum expected
public int getWidth() { ret w; }
^
/root/JavaX-Caches/tmp_364490154/main.java:85: error: class, interface, or enum expected
public int getWidth() { ret w; }
^
/root/JavaX-Caches/tmp_364490154/main.java:86: error: class, interface, or enum expected
public int getHeight() { ret h; }
^
/root/JavaX-Caches/tmp_364490154/main.java:86: error: class, interface, or enum expected
public int getHeight() { ret h; }
^
/root/JavaX-Caches/tmp_364490154/main.java:87: error: class, interface, or enum expected
int w() { ret w; }
^
/root/JavaX-Caches/tmp_364490154/main.java:88: error: class, interface, or enum expected
int h() { ret h; }
^
50 errors