Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
126427 陈冠樾 比大小 C++ Accepted 1 MS 272 KB 278 2025-07-18 17:24:00

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int a, b, 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; }