Eating Candies
1669F1100· newbie1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
4310 20 1062 1 4 2 4 151 2 4 8 1697 3 20 5 15 1 11 8 10
Output
2607
58%
1669F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
4310 20 1062 1 4 2 4 151 2 4 8 1697 3 20 5 15 1 11 8 10
2607