Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
40853 | Andrew宥杨 | 比大小 | C++ | Accepted | 0 MS | 244 KB | 192 | 2024-02-18 09:11:25 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a*a>b*c)cout<<"SQUARE"; if(a*a==b*c)cout<<"SAME"; if(a*a<b*c) cout<<"RECTANGLE"; return 0; }