| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 153504 | 周谨严 | 02长方形的面积 | C++ | Compile Error | 0 MS | 0 KB | 92 | 2026-05-17 19:27:44 |
#include<iostream> using namespace int main(){ int a,b; cin>>a>>b; cout<<a*b; }
Main.cc:3:1: error: expected identifier before 'int'
int main(){
^
Main.cc:3:1: error: expected ';' before 'int'
Main.cc: In function 'int main()':
Main.cc:5:2: error: 'cin' was not declared in this scope
cin>>a>>b;
^
Main.cc:5:2: note: suggested alternative:
In file included from Main.cc:1:0:
/usr/include/c++/5/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
Main.cc:6:2: error: 'cout' was not declared in this scope
cout<