cf/mirror

Equalize Prices Again

CF
1234A800· newbie1s256 MB⌨ stdin/stdout
#math

Examples

Sample 1of 1
Input
3
5
1 2 3 4 5
3
1 2 2
4
1 1 1 1
Output
3
2
1
1234A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)