运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
18629 | xiaoliu | 2270 - u形三元组 | 编译错误 | 0 | 0 MS | 0 KB | C++ | 417 | 1年前 |
Main.cc: In function 'int main()':
Main.cc:12:6: error: 'nums' was not declared in this scope
12 | cin>>nums[i];
| ^~~~
Main.cc:17:24: error: 's' was not declared in this scope
17 | if(s[k]==s[i]+s[j]){
| ^
Main.cc:25:1: error: expected '}' at end of input
25 | }
| ^
Main.cc:8:12: note: to match this '{'
8 | int main() {
| ^