ORAC
...
Training
Getting started
Competitions
AIO
Alpha
AIIO
FARIO
SELN
AIC (old)
Leaderboards
Log In
Register
Statement
Submissions
Wet Chairs
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
1 second
256 MiB
chairsin.txt
chairsout.txt
Log in
to submit!
If the statement isn't loading correctly, you can
open it in a new tab
.
Problem info
Subtask 1 (15 points) has 20 cases.
Subtask 2 (25 points) has 31 cases.
Subtask 3 (30 points) has 19 cases.
Subtask 4 (30 points) has 42 cases.