ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Range Messaging
Statement
Submissions
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
1.0 second
512.0 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 (10 points) has 5 cases.
Subtask 2 (17 points) has 17 cases.
Subtask 3 (25 points) has 10 cases.
Subtask 4 (15 points) has 31 cases.
Subtask 5 (33 points) has 54 cases.