cf/mirror

Split the Multiset

CF
1988A900· newbie1s512 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
4
1 5
5 2
6 3
16 4
Output
0
4
3
5
1988A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)