C. 练19.3  比大小

    Type: Default 1000ms 64MiB

练19.3  比大小

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

Input the side length of a square ($a$) and the length and width of a rectangle ($b$, $c$), then compare the areas of the two shapes. If the rectangle's area is larger, output "RECTANGLE"; if the square's area is larger, output "SQUARE"; if they are the same, output "SAME".

Input Format

Input positive integers $a$, $b$, $c$ ($0

Output Format

If the rectangle's area is larger, output "RECTANGLE".
If the square's area is larger, output "SQUARE".
If they are the same, output "SAME".

Sample

5 4 6
SQUARE

20251129 A班作业(8)

Not Claimed
Status
Done
Problem
5
Open Since
2025-11-29 0:00
Deadline
2025-12-14 23:59
Extension
24 hour(s)