ORAC
...
Training
Getting started
Competitions
AIO
Alpha
AIIO
FARIO
SELN
AIC (old)
Leaderboards
Log In
Register
Statement
Submissions
Maximum Matrix
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
1 second
1024 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 (7 points) has 10 cases.
Subtask 2 (18 points) has 17 cases.
Subtask 3 (10 points) has 16 cases.
Subtask 4 (8 points) has 33 cases.
Subtask 5 (17 points) has 24 cases.
Subtask 6 (11 points) has 49 cases.
Subtask 7 (14 points) has 64 cases.
Subtask 8 (15 points) has 82 cases.