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