ORAC
...
Training
Getting started
Competitions
AIO
Alpha
AIIO
FARIO
SELN
AIC (old)
Leaderboards
Log In
Register
Statement
Submissions
Ghost Encounters
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
1 second
256 MiB
ghostin.txt
ghostout.txt
Log in
to submit!
If the statement isn't loading correctly, you can
open it in a new tab
.
Attachments
sample-1-out.txt
sample-2-out.txt
sample-3-out.txt
sample-2-in.txt
sample-3-in.txt
sample-1-in.txt
Problem info
Subtask 1 (25 points) has 10 cases.
Subtask 2 (30 points) has 16 cases.
Subtask 3 (35 points) has 23 cases.
Subtask 4 (10 points) has 36 cases.