ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Medusa's Snakes
Statement
Submissions
Hall of Fame
Report Issue
Time Limit
Memory Limit
Input File
Output File
1 second
256 MiB
snakein.txt
snakeout.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 12 cases.
Subtask 2 (15 points) has 14 cases.
Subtask 3 (30 points) has 18 cases.
Subtask 4 (20 points) has 38 cases.
Subtask 5 (20 points) has 56 cases.