| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 126421 | 陈冠樾 | 比大小 | C++ | Compile Error | 0 MS | 0 KB | 280 | 2025-07-18 17:18:00 |
#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; }
Main.cc: In function 'int main()': Main.cc:16:2: error: expected ';' before '}' token } ^