ORAC
...
Training
Getting started
Competitions
AIO
Alpha
AIIO
FARIO
SELN
AIC (old)
Leaderboards
Log In
Register
Statement
Submissions
Coloured Walkway
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
3.0 seconds
1024.0 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 (4 points) has 17 cases.
Subtask 2 (22 points) has 46 cases.
Subtask 3 (15 points) has 17 cases.
Subtask 4 (26 points) has 21 cases.
Subtask 5 (33 points) has 75 cases.