运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
545876 Sorrymaker 1648 - [算法课回溯]括号生成 编译错误 0 0 MS 0 KB Java 801 10个月前
暂时无法获取本题测试点详情。

Main.java:10: error: non-static method cb(List<String>,int,int,int,StringBuilder) cannot be referenced from a static context
cb(ans,open,close,max,cur);
^
Main.java:15: error: cannot find symbol
if(cur.length == max*2){
^
symbol: variable length
location: variable cur of type StringBuilder
Main.java:16: error: incompatible types: unexpected return value
return ans.add(cur.toString());
^
Main.java:21: error: cannot find symbol
cur.delete(cur.length-1);
^
symbol: variable length
location: variable cur of type StringBuilder
Main.java:26: error: cannot find symbol
cur.delete(cur.length-1);
^
symbol: variable length
location: variable cur of type StringBuilder
5 errors