Problem Description
Loading...
Problem Analysis
The arrangement that maximizes the count must be a pattern like 12121212 so take 12 as a single unit 3 stones are needed to give 2 presents
So divide by 3 to count the groups and check whether there is a remainder
cpp
| |
Problem link: 【CodeForces】[669A]Little Artem and Presents