QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#541336#4990. Coffee Cup ComboMaMengQiCompile Error//Java8743b2024-08-31 19:10:432024-08-31 19:10:43

Details

Main.java:11: error: not a statement
        int ????=0;
        ^
Main.java:11: error: ';' expected
        int ????=0;
           ^
Main.java:16: error: illegal start of expression
                 ????++;
                 ^
Main.java:16: error: illegal start of expression
                 ????++;
                  ^
Main.java:16: error: illegal start of expression
                 ????++;
                   ^
Main.java:16: error: illegal start of expression
                 ????++;
                    ^
Main.java:16: error: illegal start of expression
                 ????++;
                       ^
Main.java:17: error: : expected
                 cups+=2;
                        ^
Main.java:17: error: : expected
                 cups+=2;
                         ^
Main.java:19: error: illegal start of expression
            if ("0".contains(String.valueOf(c))) {
            ^
Main.java:19: error: : expected
            if ("0".contains(String.valueOf(c))) {
              ^
Main.java:19: error: ';' expected
            if ("0".contains(String.valueOf(c))) {
                                               ^
Main.java:21: error: illegal start of expression
                    ????++;
                    ^
Main.java:21: error: illegal start of expression
                    ????++;
                     ^
Main.java:21: error: illegal start of expression
                    ????++;
                      ^
Main.java:21: error: illegal start of expression
                    ????++;
                       ^
Main.java:21: error: illegal start of expression
                    ????++;
                          ^
Main.java:22: error: : expected
                    cups--;
                          ^
Main.java:22: error: : expected
                    cups--;
                           ^
Main.java:24: error: illegal start of expression
            }
            ^
Main.java:24: error: : expected
            }
             ^
Main.java:25: error: illegal start of expression
            cups = Math.min(cups, 2);
                 ^
Main.java:25: error: ';' expected
            cups = Math.min(cups, 2);
                  ^
Main.java:25: error: illegal start of expression
            cups = Math.min(cups, 2);
                       ^
Main.java:25: error: ';' expected
            cups = Math.min(cups, 2);
                           ^
Main.java:25: error: not a statement
            cups = Math.min(cups, 2);
                            ^
Main.java:25: error: ';' expected
            cups = Math.min(cups, 2);
                                ^
Main.java:27: error: illegal start of expression
        System.out.println(????);
                           ^
Main.java:27: error: illegal start of expression
        System.out.println(????);
                            ^
Main.java:27: error: illegal start of expression
        System.out.println(????);
                             ^
Main.java:27: error: illegal start of expression
        System.out.println(????);
                              ^
Main.java:27: error: illegal start of expression
        System.out.println(????);
                               ^
Main.java:27: error: illegal start of expression
        System.out.println(????);
                                ^
Main.java:27: error: : expected
        System.out.println(????);
                                 ^
Main.java:29: error: illegal start of expression
}
^
Main.java:29: error: reached end of file while parsing
}
 ^
36 errors