Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
112928 | 张立卓 | 02简单两数相加 | C++ | Compile Error | 0 MS | 0 KB | 142 | 2025-03-14 20:27:47 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b; a = 1; b = 2; s = a+b; cout<<s; return 0; }
Main.cc: In function 'int main()': Main.cc:7:5: error: 's' was not declared in this scope s = a+b; ^