cf/mirror

Yet Another Dividing into Teams

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

Examples

Sample 1of 1
Input
4
4
2 10 1 20
2
3 6
5
2 3 4 99 100
1
42
Output
2
1
2
1
1249A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)