ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Ecofriendly Trip
Statement
Submissions
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
3 seconds
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 11 cases.
Subtask 2 (50 points) has 16 cases.
Subtask 3 (30 points) has 42 cases.