ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Farmer Drama
Statement
Submissions
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
1 second
256 MiB
farmin.txt
farmout.txt
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 67 cases.
Subtask 2 (20 points) has 46 cases.
Subtask 3 (20 points) has 51 cases.
Subtask 4 (20 points) has 103 cases.
Subtask 5 (30 points) has 138 cases.