Wrote /root/JavaX-Caches/tmp_829356895/main.java - 3275 bytes (written=3275, should be 3275)
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_1133163807 /root/JavaX-Caches/tmp_829356895/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_829356895/main.java:1: error: class, interface, or enum expected
scope timSortIntArray.
^
/root/JavaX-Caches/tmp_829356895/main.java:8: error: class, interface, or enum expected
static final int #RUN = 32;
^
/root/JavaX-Caches/tmp_829356895/main.java:8: error: illegal character: '#'
static final int #RUN = 32;
^
/root/JavaX-Caches/tmp_829356895/main.java:12: error: illegal character: '#'
svoid #insertionSort(int[] arr, int left, int right) {
^
/root/JavaX-Caches/tmp_829356895/main.java:13: error: class, interface, or enum expected
for (int i = left + 1; i <= right; i++)
^
/root/JavaX-Caches/tmp_829356895/main.java:13: error: class, interface, or enum expected
for (int i = left + 1; i <= right; i++)
^
/root/JavaX-Caches/tmp_829356895/main.java:16: error: class, interface, or enum expected
int j = i - 1;
^
/root/JavaX-Caches/tmp_829356895/main.java:17: error: class, interface, or enum expected
while (j >= left && arr[j] > temp)
^
/root/JavaX-Caches/tmp_829356895/main.java:20: error: class, interface, or enum expected
j--;
^
/root/JavaX-Caches/tmp_829356895/main.java:21: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_829356895/main.java:23: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_829356895/main.java:27: error: illegal character: '#'
svoid #merge(int[] arr, int l,
^
/root/JavaX-Caches/tmp_829356895/main.java:32: error: class, interface, or enum expected
int[] left = new int[len1];
^
/root/JavaX-Caches/tmp_829356895/main.java:33: error: class, interface, or enum expected
int[] right = new int[len2];
^
/root/JavaX-Caches/tmp_829356895/main.java:34: error: class, interface, or enum expected
for (int x = 0; x < len1; x++)
^
/root/JavaX-Caches/tmp_829356895/main.java:34: error: class, interface, or enum expected
for (int x = 0; x < len1; x++)
^
/root/JavaX-Caches/tmp_829356895/main.java:34: error: class, interface, or enum expected
for (int x = 0; x < len1; x++)
^
/root/JavaX-Caches/tmp_829356895/main.java:37: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_829356895/main.java:38: error: class, interface, or enum expected
for (int x = 0; x < len2; x++)
^
/root/JavaX-Caches/tmp_829356895/main.java:38: error: class, interface, or enum expected
for (int x = 0; x < len2; x++)
^
/root/JavaX-Caches/tmp_829356895/main.java:41: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_829356895/main.java:44: error: class, interface, or enum expected
int j = 0;
^
/root/JavaX-Caches/tmp_829356895/main.java:45: error: class, interface, or enum expected
int k = l;
^
/root/JavaX-Caches/tmp_829356895/main.java:49: error: class, interface, or enum expected
while (i < len1 && j < len2)
^
/root/JavaX-Caches/tmp_829356895/main.java:54: error: class, interface, or enum expected
i++;
^
/root/JavaX-Caches/tmp_829356895/main.java:55: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_829356895/main.java:59: error: class, interface, or enum expected
j++;
^
/root/JavaX-Caches/tmp_829356895/main.java:60: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_829356895/main.java:62: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_829356895/main.java:68: error: class, interface, or enum expected
k++;
^
/root/JavaX-Caches/tmp_829356895/main.java:69: error: class, interface, or enum expected
i++;
^
/root/JavaX-Caches/tmp_829356895/main.java:70: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_829356895/main.java:76: error: class, interface, or enum expected
k++;
^
/root/JavaX-Caches/tmp_829356895/main.java:77: error: class, interface, or enum expected
j++;
^
/root/JavaX-Caches/tmp_829356895/main.java:78: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_829356895/main.java:85: error: class, interface, or enum expected
for (int i = 0; i < n; i += RUN)
^
/root/JavaX-Caches/tmp_829356895/main.java:85: error: class, interface, or enum expected
for (int i = 0; i < n; i += RUN)
^
/root/JavaX-Caches/tmp_829356895/main.java:88: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_829356895/main.java:92: error: class, interface, or enum expected
for (int size = RUN; size < n; size = 2 * size)
^
/root/JavaX-Caches/tmp_829356895/main.java:92: error: class, interface, or enum expected
for (int size = RUN; size < n; size = 2 * size)
^
/root/JavaX-Caches/tmp_829356895/main.java:96: error: class, interface, or enum expected
endifdef
^
/root/JavaX-Caches/tmp_829356895/main.java:101: error: class, interface, or enum expected
for (int left = 0; left < n; left += 2 * size)
^
/root/JavaX-Caches/tmp_829356895/main.java:101: error: class, interface, or enum expected
for (int left = 0; left < n; left += 2 * size)
^
/root/JavaX-Caches/tmp_829356895/main.java:107: error: class, interface, or enum expected
int right = Math.min(left + 2 * size - 1, n - 1);
^
/root/JavaX-Caches/tmp_829356895/main.java:112: error: class, interface, or enum expected
merge(arr, left, mid, right);
^
/root/JavaX-Caches/tmp_829356895/main.java:113: error: class, interface, or enum expected
}
^
46 errors