ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Superheroes
Statement
Submissions
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
0.7 seconds
256.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 (8 points) has 16 cases.
Subtask 2 (20 points) has 12 cases.
Subtask 3 (12 points) has 19 cases.
Subtask 4 (15 points) has 19 cases.
Subtask 5 (20 points) has 33 cases.
Subtask 6 (25 points) has 42 cases.