Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
40880 | liusiyu | 比大小 | C++ | Accepted | 1 MS | 240 KB | 194 | 2024-02-18 10:47:12 |
#include<bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(a*a==b*c) cout<<"SAME"; else if(a*a>b*c) cout<<"SQUARE"; else cout<<"RECTANGLE"; return 0; }