class SimpleGuess { public: int getMaximum(vector <int> hints) { sort(hints.B, hints.E); cout<<hints<<endl; int xy = 0; REP(i, hints.SZ) REP(j, hints.SZ) { if(i==j) continue; int x = hints[i] + hints[j]; int y = hints[i] - hints[j]; if(x&1) continue; if(y&1) continue; if(xy<x*y) xy=x*y; } return xy/4; }