Median on Segments (Permutations Edition)

Problem Name:
Median on Segments (Permutations Edition)
Site:CodeForces
Links:
Tags: