cf/mirror

Equal Candies

CF
1676B800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
5
5
1 2 3 4 5
6
1000 1000 5 1000 1000 1000
10
1 2 3 5 1 2 7 9 13 5
3
8 8 8
1
10000000
Output
10
4975
38
0
0
1676B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)