ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Pearls
Statement
Submissions
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
0.5 seconds
512 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 (25 points) has 30 cases.
Subtask 2 (15 points) has 43 cases.
Subtask 3 (15 points) has 56 cases.
Subtask 4 (30 points) has 23 cases.
Subtask 5 (15 points) has 66 cases.