C # implementation to count the number of distinct medians of an array where each array elements are given by a range
using System ; using System . Collections ; using System . Collections . Generic ; public class Point { public int x , y ; public Point ( int xx , int yy ) { x = xx ; y = yy ; } } class GFG {