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

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

/root/JavaX-Caches/tmp_168835676/main.java:1: error: class, interface, or enum expected sinterface IIntegralImage extends MakesBufferedImage { ^ /root/JavaX-Caches/tmp_168835676/main.java:2: error: class, interface, or enum expected public int getWidth(); ^ /root/JavaX-Caches/tmp_168835676/main.java:3: error: class, interface, or enum expected public int getHeight(); ^ /root/JavaX-Caches/tmp_168835676/main.java:4: error: class, interface, or enum expected default public Pt getSize() { ret pt(getWidth(), getHeight()); } ^ /root/JavaX-Caches/tmp_168835676/main.java:4: error: class, interface, or enum expected default public Pt getSize() { ret pt(getWidth(), getHeight()); } ^ /root/JavaX-Caches/tmp_168835676/main.java:6: error: class, interface, or enum expected default public int defaultChannel() { ret 0; } ^ /root/JavaX-Caches/tmp_168835676/main.java:6: error: class, interface, or enum expected default public int defaultChannel() { ret 0; } ^ /root/JavaX-Caches/tmp_168835676/main.java:7: error: class, interface, or enum expected default public int nChannels() { ret 3; } ^ /root/JavaX-Caches/tmp_168835676/main.java:7: error: class, interface, or enum expected default public int nChannels() { ret 3; } ^ /root/JavaX-Caches/tmp_168835676/main.java:11: error: class, interface, or enum expected public double getIntegralValue(int x, int y, int channel); ^ /root/JavaX-Caches/tmp_168835676/main.java:13: error: class, interface, or enum expected default double getIntegralValue(double x, double y, int channel) { ^ /root/JavaX-Caches/tmp_168835676/main.java:15: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_168835676/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_168835676/main.java:27: error: class, interface, or enum expected double bottomRight = getIntegralValue(x2-1, y2-1, channel); ^ /root/JavaX-Caches/tmp_168835676/main.java:28: error: class, interface, or enum expected double topLeft = getIntegralValue(x1-1, y1-1, channel); ^ /root/JavaX-Caches/tmp_168835676/main.java:29: error: class, interface, or enum expected double topRight = getIntegralValue(x2-1, y1-1, channel); ^ /root/JavaX-Caches/tmp_168835676/main.java:30: error: class, interface, or enum expected ret bottomRight+topLeft-topRight-bottomLeft; ^ /root/JavaX-Caches/tmp_168835676/main.java:31: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_168835676/main.java:35: error: class, interface, or enum expected double bottomRight = getIntegralValue(x2-1, y2-1, channel); ^ /root/JavaX-Caches/tmp_168835676/main.java:36: error: class, interface, or enum expected double topLeft = getIntegralValue(x1-1, y1-1, channel); ^ /root/JavaX-Caches/tmp_168835676/main.java:37: error: class, interface, or enum expected double topRight = getIntegralValue(x2-1, y1-1, channel); ^ /root/JavaX-Caches/tmp_168835676/main.java:38: error: class, interface, or enum expected ret bottomRight+topLeft-topRight-bottomLeft; ^ /root/JavaX-Caches/tmp_168835676/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_168835676/main.java:43: error: class, interface, or enum expected double bottomRight = getIntegralValue(x2-1, y2-1); ^ /root/JavaX-Caches/tmp_168835676/main.java:44: error: class, interface, or enum expected double topLeft = getIntegralValue(x1-1, y1-1); ^ /root/JavaX-Caches/tmp_168835676/main.java:45: error: class, interface, or enum expected double topRight = getIntegralValue(x2-1, y1-1); ^ /root/JavaX-Caches/tmp_168835676/main.java:46: error: class, interface, or enum expected ret bottomRight+topLeft-topRight-bottomLeft; ^ /root/JavaX-Caches/tmp_168835676/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_168835676/main.java:51: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_168835676/main.java:55: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_168835676/main.java:59: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_168835676/main.java:63: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_168835676/main.java:67: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_168835676/main.java:71: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_168835676/main.java:75: error: class, interface, or enum expected ret doubleRatio(getIntegralValue(w-1, h-1), w*h*3*255.0); ^ /root/JavaX-Caches/tmp_168835676/main.java:76: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_168835676/main.java:80: error: class, interface, or enum expected double factor = 1/(255.0*(w*h)); ^ /root/JavaX-Caches/tmp_168835676/main.java:81: error: class, interface, or enum expected ret RGB( ^ /root/JavaX-Caches/tmp_168835676/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_168835676/main.java:90: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_168835676/main.java:95: error: class, interface, or enum expected int g = iround(rectSum(x, y, x+1, y+1, 1)); ^ /root/JavaX-Caches/tmp_168835676/main.java:96: error: class, interface, or enum expected int b = iround(rectSum(x, y, x+1, y+1, 2)); ^ /root/JavaX-Caches/tmp_168835676/main.java:97: error: class, interface, or enum expected ret rgbInt(r, g, b); ^ /root/JavaX-Caches/tmp_168835676/main.java:98: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_168835676/main.java:100: error: class, interface, or enum expected default int nPixels() { ret getWidth()*getHeight(); } ^ /root/JavaX-Caches/tmp_168835676/main.java:104: error: class, interface, or enum expected int[] pixels = new[w*h]; ^ /root/JavaX-Caches/tmp_168835676/main.java:105: error: class, interface, or enum expected int i = 0; ^ /root/JavaX-Caches/tmp_168835676/main.java:106: error: class, interface, or enum expected for y to h: ^ /root/JavaX-Caches/tmp_168835676/main.java:109: error: class, interface, or enum expected ret intArrayToBufferedImage(pixels, w, h); ^ /root/JavaX-Caches/tmp_168835676/main.java:110: error: class, interface, or enum expected } ^ 50 errors