Example #1
0
	bool operator<(const Team& b)const {
		if(point()<b.point()) return false;
		if(point()>b.point()) return true;
		if(win<b.win) return false;
		if(win>b.win) return true;
		if(goalDiff()<b.goalDiff()) return false;
		if(goalDiff()>b.goalDiff()) return true;
		if(goalScored<b.goalScored) return false;
		if(goalScored>b.goalScored) return true;
		if(total()>b.total()) return false;
		if(total()<b.total()) return true;
		return ilt(name,b.name);
	}