ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Trains
Statement
Submissions
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
1 second
256 MiB
trains.in
trains.out
Log in
to submit!
If the statement isn't loading correctly, you can
open it in a new tab
.
Problem info
There are no subtasks. This problem has 24 test cases.