QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#541236#4990. Coffee Cup ComboZhaoZiLongCompile Error//Java8705b2024-08-31 18:59:152024-08-31 18:59:16

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:15: error: illegal start of expression
                 ????++;
                 ^
B_.java:15: error: illegal start of expression
                 ????++;
                  ^
B_.java:15: error: illegal start of expression
                 ????++;
                   ^
B_.java:15: error: illegal start of expression
                 ????++;
                    ^
B_.java:15: error: illegal start of expression
                 ????++;
                       ^
B_.java:16: error: : expected
                 cups=cups+2;
                            ^
B_.java:16: error: : expected
                 cups=cups+2;
                             ^
B_.java:18: error: illegal start of expression
            if ("0".contains(String.valueOf(c))) {
            ^
B_.java:18: error: : expected
            if ("0".contains(String.valueOf(c))) {
              ^
B_.java:18: error: ';' expected
            if ("0".contains(String.valueOf(c))) {
                                               ^
B_.java:20: error: illegal start of expression
                    ????++;
                    ^
B_.java:20: error: illegal start of expression
                    ????++;
                     ^
B_.java:20: error: illegal start of expression
                    ????++;
                      ^
B_.java:20: error: illegal start of expression
                    ????++;
                       ^
B_.java:20: error: illegal start of expression
                    ????++;
                          ^
B_.java:21: error: : expected
                    cups--;
                          ^
B_.java:21: error: : expected
                    cups--;
                           ^
B_.java:23: error: illegal start of expression
            }
            ^
B_.java:23: error: : expected
            }
             ^
B_.java:24: error: illegal start of expression
            cups = Math.min(cups, 2);
                 ^
B_.java:24: error: ';' expected
            cups = Math.min(cups, 2);
                  ^
B_.java:24: error: illegal start of expression
            cups = Math.min(cups, 2);
                       ^
B_.java:24: error: ';' expected
            cups = Math.min(cups, 2);
                           ^
B_.java:24: error: not a statement
            cups = Math.min(cups, 2);
                            ^
B_.java:24: error: ';' expected
            cups = Math.min(cups, 2);
                                ^
B_.java:26: error: illegal start of expression
        System.out.println(????);
                           ^
B_.java:26: error: illegal start of expression
        System.out.println(????);
                            ^
B_.java:26: error: illegal start of expression
        System.out.println(????);
                             ^
B_.java:26: error: illegal start of expression
        System.out.println(????);
                              ^
B_.java:26: error: illegal start of expression
        System.out.println(????);
                               ^
B_.java:26: error: illegal start of expression
        System.out.println(????);
                                ^
B_.java:26: error: : expected
        System.out.println(????);
                                 ^
B_.java:28: error: illegal start of expression
}
^
B_.java:28: error: reached end of file while parsing
}
 ^
37 errors