class TournamentJudging { public: int getPoints(vector <int> S, vector <int> F) { int sum = 0; for (int i = 0; i < (int)S.size(); ++i) { double a = S[i]; double b = F[i]; sum += (int)floor(a / b + 0.5); } return sum; } };