ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Telefrogs
Statement
Submissions
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
1 second
256 MiB
Standard Input
Standard Output
Log in
to submit!
If the statement isn't loading correctly, you can
open it in a new tab
.
Problem info
Subtask 1 (14 points) has 12 cases.
Subtask 2 (26 points) has 21 cases.
Subtask 3 (16 points) has 30 cases.
Subtask 4 (13 points) has 20 cases.
Subtask 5 (31 points) has 59 cases.