Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
165004 王慕哲 比大小 C++ Accepted 1 MS 268 KB 308 2026-11-08 17:13:02

Tests(10/10):


Code:

#include <bits/stdc++.h> using namespace std; int a[10001]={}; int main() { int a,b,c; cin>>a>>b>>c; int s=a*a; int q=b*c; if(s<q){ cout<<"RECTANGLE"<<endl; } if(s==q){ cout<<"SAME"<<endl; } if(s>q){ cout<<"SQUARE"<<endl; } }