ORAC
...
Training
Getting started
Competitions
AIO
Alpha
AIIO
FARIO
SELN
AIC (old)
Leaderboards
Log In
Register
Statement
Submissions
Lazy Hike
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
2 seconds
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 (20 points) has 15 cases.
Subtask 2 (20 points) has 26 cases.
Subtask 3 (40 points) has 30 cases.
Subtask 4 (20 points) has 58 cases.