Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
126425 | 葛锦东 | 比大小 | C++ | Accepted | 1 MS | 272 KB | 275 | 2025-07-18 17:22:02 |
#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"; } else if (s1 < s2) { cout << "RECTANGLE"; } else { cout << "SAME"; } return 0; }