Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
149757 mww 比大小 C++ Compile Error 0 MS 0 KB 169 2026-03-16 17:02:13

Tests(0/0):


Code:

#include <iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a*a<c*b){ cout<<"RECTANGLE"; }else if(a*a>c*b){ cout<<"SQUARE"; }else{ cout<<"SAME"; } }


Run Info:

Main.cc:1:21: warning: extra tokens at end of #include directive
 #include  using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a*ac*b){ cout<<"SQUARE"; }else{ cout<<"SAME"; } }
                     ^
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status