ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Tickets
Statement
Submissions
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
1 second
256 MiB
ticketin.txt
ticketout.txt
Log in
to submit!
If the statement isn't loading correctly, you can
open it in a new tab
.
Problem info
Subtask 1 (50 points) has 12 cases.
Subtask 2 (50 points) has 18 cases.