1 solutions

  • 0
    @ 2024-12-11 16:20:14
    #include <bits/stdc++.h>
    using namespace std;
    int a, b, c;
    int main()
    {
    	cin >> a >> b >> c;
    	if(a*a>b*c)
    	{
    		cout << "SQUARE";
    	}
    	else
    	if(a*a<b*c)
    	{
    		cout << "RECTANGLE";
    	}
    	else
    	{
    		cout << "SAME";
    	}
    	
    	
    	
    	return 0;
    }
    
    • 1

    Information

    ID
    14
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    10
    Tags
    # Submissions
    1
    Accepted
    1
    Uploaded By