| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 126423 | 陈冠樾 | 比大小 | C++ | Wrong Answer | 1 MS | 268 KB | 281 | 2025-07-18 17:19:48 |
#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; }
------Input------
87 36 64
------Answer-----
SQUARE
------Your output-----
SQUARERECTANGLE