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