Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
43015 | yuzhengxun | 比大小 | C++ | Accepted | 0 MS | 236 KB | 206 | 2024-03-05 21:10:21 |
#include<iostream> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(a*a<b*c){ cout<<"RECTANGLE"; }else if(a*a>b*c){ cout<<"SQUARE"; }else{ cout<<"SAME"; } return 0; }