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

Main.java:13: error: cannot find symbol
if(list.length == k){
^
symbol: variable length
location: variable list of type List<Integer>
Main.java:17: error: cannot find symbol
if(list.length +n-cur<k){
^
symbol: variable length
location: variable list of type List<Integer>
Main.java:21: error: method dfs in class Main cannot be applied to given types;
dfs(n,k,cur+1);
^
required: int,int,int,List<Integer>
found: int,int,int
reason: actual and formal argument lists differ in length
Main.java:22: error: cannot find symbol
list.remove(list.length - 1);
^
symbol: variable length
location: variable list of type List<Integer>
Main.java:23: error: method dfs in class Main cannot be applied to given types;
dfs(n,k,cur+1);
^
required: int,int,int,List<Integer>
found: int,int,int
reason: actual and formal argument lists differ in length
5 errors