ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Tree Dash
Statement
Submissions
Hall of Fame
Report Issue
Time Limit
Memory Limit
2.5 seconds
1024 MiB
Log in
to submit!
If the statement isn't loading correctly, you can
open it in a new tab
.
Problem info
Subtask 1 (20 points) has 6 cases.
Subtask 2 (15 points) has 21 cases.
Subtask 3 (25 points) has 11 cases.
Subtask 4 (20 points) has 26 cases.
Subtask 5 (20 points) has 72 cases.