ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Breaking Bars
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 (20 points) has 24 cases.
Subtask 2 (25 points) has 7 cases.
Subtask 3 (15 points) has 27 cases.
Subtask 4 (40 points) has 46 cases.