运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
544930 | Sorrymaker | 1562 - [算法课分治] 寻找多数 | 编译错误 | 0 | 0 MS | 0 KB | Java | 575 | 10个月前 |
Main.java:14: error: incompatible types: int cannot be converted to boolean
if(count = 0){
^
Main.java:17: error: incompatible types: int cannot be converted to boolean
}if(candidate = nums[j]){
^
Main.java:22: error: incompatible types: unexpected return value
return candidate;
^
3 errors