ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Greed
Statement
Submissions
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
1 second
256 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 (10 points) has 26 cases.
Subtask 2 (15 points) has 15 cases.
Subtask 3 (15 points) has 43 cases.
Subtask 4 (20 points) has 55 cases.
Subtask 5 (20 points) has 57 cases.
Subtask 6 (20 points) has 71 cases.