Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
57573 | 沈俊博 | 比大小 | C++ | Accepted | 3 MS | 272 KB | 334 | 2023-09-03 17:10:57 |
#include<iostream> #include<cmath> 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<<"SAME"<<endl; }else{ cout<<"RECTANGLE"<<endl; } return 0; }