Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
48007 张瑞涵 比大小 C++ Accepted 4 MS 272 KB 215 2023-05-16 13:35:32

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; a=a*a; b=b*c; if(a<b)cout<<"RECTANGLE"<<endl; else if(a>b)cout<<"SQUARE"<<endl; else cout<<"SAME"<<endl; return 0; }