ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Snake Charmer
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 (20 points) has 10 cases.
Subtask 2 (10 points) has 6 cases.
Subtask 3 (10 points) has 8 cases.
Subtask 4 (15 points) has 13 cases.
Subtask 5 (10 points) has 18 cases.
Subtask 6 (35 points) has 47 cases.
This problem has a checker