ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Audition
Statement
Submissions
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
1 second
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 (7 points) has 18 cases.
Subtask 2 (9 points) has 23 cases.
Subtask 3 (14 points) has 29 cases.
Subtask 4 (29 points) has 18 cases.
Subtask 5 (34 points) has 18 cases.
Subtask 6 (7 points) has 45 cases.