ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Lollipops, Sweets and Chocolates
Statement
Submissions
Hall of Fame
Report Issue
In 2025, this problem was updated to use a simpler way of handling input and output, called standard input and output. You can read more about this change by
clicking here
.
Time Limit
Memory Limit
1 second
256 MiB
Log in
to submit!
If the statement isn't loading correctly, you can
open it in a new tab
.
Problem info
Subtask 1 (35 points) has 24 cases.
Subtask 2 (15 points) has 36 cases.
Subtask 3 (10 points) has 15 cases.
Subtask 4 (10 points) has 21 cases.
Subtask 5 (30 points) has 58 cases.
This problem has a checker