| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 149717 | zlx | 比大小 | C++ | Compile Error | 0 MS | 0 KB | 199 | 2026-03-16 16:49:31 |
#inute <iostream> using namespaec std; int main(){ int a,b,c; cin>>a>>b>>c; if(b*c>a*a){ cout<<"RECTANGLE"; } if(a*a>b*c){ cout<<"SQUARE"; } if(a*a=b*c){ cout<<"SAME"; } }
Main.cc:1:2: error: invalid preprocessing directive #inute
#inute
^
Main.cc:2:7: error: expected nested-name-specifier before 'namespaec'
using namespaec std;
^
Main.cc: In function 'int main()':
Main.cc:5:2: error: 'cin' was not declared in this scope
cin>>a>>b>>c;
^
Main.cc:7:3: error: 'cout' was not declared in this scope
cout<<"RECTANGLE";
^
Main.cc:10:3: error: 'cout' was not declared in this scope
cout<<"SQUARE";
^
Main.cc:12:8: error: lvalue required as left operand of assignment
if(a*a=b*c){
^
Main.cc:13:3: error: 'cout' was not declared in this scope
cout<<"SAME";
^