sortedcontainers
isn't sortedcontainers not allowed in codeforces?
Round 1975 Div 1 + Div 2 Solution Discussion (with Jan)