QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#541265#4990. Coffee Cup ComboMaMengQiCompile Error//Java8748b2024-08-31 19:02:122024-08-31 19:02:12

详细

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=cups+2;
                            ^
B_.java:17: error: : expected
                 cups=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
}
 ^
B_.java:30: error: reached end of file while parsing
38 errors