提交时间:2024-02-18 10:45:51

运行 ID: 40877

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a*a<b*c){ cout<<"RECTANGLE"; return 0; }else if(a*a>b*c){ cout<<"SQUARE"; return 0; } cout<<"SAME"; return 0; }