Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
27689 | 唐心 | 比大小 | C++ | Accepted | 2 MS | 728 KB | 323 | 2022-06-09 20:24:01 |
#include <iostream> #include <cstdlib> #include <cstdio> #include <cstring> using namespace std ; int main() { int a,b,c; cin >>a>>b>>c; if(a*a > b * c) { cout<<"SQUARE"<<endl; } else if(a*a < b * c) { cout<<"RECTANGLE"<<endl; } else { cout<<"SAME"<<endl; } return 0 ; }