Minimal Subset Difference
924F3200· legendary gm3s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
101 100 01 100 11 100 21 100 31 100 41 100 51 100 61 100 71 100 81 100 9
Output
92844587080889498100
Sample 2of 2
Input
101 1000 01 1000 11 1000 21 1000 31 1000 41 1000 51 1000 61 1000 71 1000 81 1000 9
Output
1353805737218309069559839961000
58%
924F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)