int maxOverlapedIntervals(Interval[] A) {
		int n=A.length,rel=0;
		int[]s=new int[n],e=new int[n];
		for (int i=0;i<n;++i) {s[i]=A[i].start;e[i]=A[i].end;}
		Arrays.sort(s);Arrays.sort(e);
		for (int i=0,j=0,c=0;i<n||j<n;) {
			if (i<n&&j<n) {
				if (s[i]<e[j]) {++c;++i;}
				else if (s[i]>e[j]){--c;++j;}
				else {++i;++j;}
			} else {++c;++j;}
			rel=Math.max(rel, c);
		}
		return rel;
	}