#include<bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(a*a<b*c) cout<<"RECTANGLE"; if(a*a>b*c) cout<<"SQUARE"; if(a*a==b*c) cout<<"SAME"; return 0; }
#include<bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; a=aa; c=cb; if(c<a) { cout<<"SQUARE"; } else { if(c==a) { cout<<"SAME"; } else { if(c>a) { cout<<"RECTANGLE"; } } } return 0; }
注册一个 安阳中心在线题库OJ系统 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 安阳中心在线题库OJ系统 通用账户