Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
88960 sh25_zhangyj 比大小 C++ 通过 0 MS 248 KB 358 2026-05-22 14:28:10

Tests(1/1):


#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int square = a * a; int rect = b * c; if (rect > square) { cout << "RECTANGLE" << endl; } else if (square > rect) { cout << "SQUARE" << endl; } else { cout << "SAME" << endl; } return 0; }


测评信息: