ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Coloured Walkway
Statement
Submissions
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
3.0 seconds
1024.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 (4 points) has 17 cases.
Subtask 2 (22 points) has 46 cases.
Subtask 3 (15 points) has 17 cases.
Subtask 4 (26 points) has 21 cases.
Subtask 5 (33 points) has 75 cases.