Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
126418 陈淮遇 比大小 C++ Accepted 1 MS 272 KB 289 2025-07-18 17:10:41

Tests(10/10):


Code:

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