QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#281901 | #5108. Prehistoric Programs | MaMengQi | Compile Error | / | / | Java8 | 2.2kb | 2023-12-11 03:35:15 | 2023-12-11 03:35:15 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Main.java:32: error: : expected case '(' -> crt++; ^ Main.java:32: error: illegal start of expression case '(' -> crt++; ^ Main.java:32: error: ';' expected case '(' -> crt++; ^ Main.java:33: error: : expected case ')' -> crt--; ^ Main.java:33: error: illegal start of expression case ')' -> crt--; ^ Main.java:33: error: ';' expected case ')' -> crt--; ^ Main.java:34: error: : expected default -> { ^ Main.java:34: error: illegal start of expression default -> { ^ Main.java:34: error: ';' expected default -> { ^ Main.java:46: error: class, interface, or enum expected private void solve() { ^ Main.java:48: error: class, interface, or enum expected Map<Boolean, List<Integer>> bySgn = Arrays.stream(perm) ^ Main.java:52: error: class, interface, or enum expected bySgn.forEach((sgn, lst) -> lst.sort( ^ Main.java:58: error: class, interface, or enum expected bySgn.get(true).addAll(bySgn.get(false)); ^ Main.java:59: error: class, interface, or enum expected perm = bySgn.get(true).toArray(Integer[]::new); ^ Main.java:60: error: class, interface, or enum expected boolean ok = true; ^ Main.java:61: error: class, interface, or enum expected int counter = 0; ^ Main.java:63: error: class, interface, or enum expected for (int f = 0; f < n; f++) { ^ Main.java:63: error: class, interface, or enum expected for (int f = 0; f < n; f++) { ^ Main.java:63: error: class, interface, or enum expected for (int f = 0; f < n; f++) { ^ Main.java:66: error: class, interface, or enum expected } ^ Main.java:68: error: class, interface, or enum expected } ^ Main.java:71: error: class, interface, or enum expected } else { ^ Main.java:73: error: class, interface, or enum expected } ^ 23 errors