You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
261 B
11 lines
261 B
2 years ago
|
#include <bits/stdc++.h>
|
||
|
|
||
|
using namespace std;
|
||
|
int a, B, c;
|
||
|
int main() {
|
||
|
cin >> a >> b >> c;
|
||
|
if (b * c > a * a) cout << "RECTANGLE" << endl;
|
||
|
else if (b * c < a * a) cout << "SQUARE" << endl;
|
||
|
else cout << "SAME" << endl;
|
||
|
return 0;
|
||
|
}
|