ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Save-It
Statement
Submissions
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
1 second
256 MiB
savein.txt
saveout.txt
Log in
to submit!
If the statement isn't loading correctly, you can
open it in a new tab
.
Problem info
Subtask 1 (40 points) has 28 cases.
Subtask 2 (6 points) has 3 cases.
Subtask 3 (6 points) has 3 cases.
Subtask 4 (18 points) has 4 cases.
Subtask 5 (6 points) has 3 cases.
Subtask 6 (6 points) has 3 cases.
Subtask 7 (18 points) has 4 cases.