func_code_string: #include <bits/stdc++.h>   using namespace std;   string winner;   int score;   int calc(int Suc, int Fal, int A, int B, int C, int D, int E) {     int ret = A + B + C + D + E;     ret += Suc * 100;     ret -= Fal * 50;     return ret;   }   int main() {     int n;     while (cin >> n) {       score = -100000000;       for (int i = 1; i <= n; i++) {         string name;         int Suc, Fal, A, B, C, D, E;         cin >> name >> Suc >> Fal >> A >> B >> C >> D >> E;         int s = calc(Suc, Fal, A, B, C, D, E);         if (s > score) winner = name, score = s;       }       cout << winner << endl;     }     return 0;   }   