QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#541279#4990. Coffee Cup ComboZhaoZiLongCompile Error//Java8742b2024-08-31 19:04:122024-08-31 19:04:15

Details

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