func_code_string: #include <bits/stdc++.h>   using namespace std;   double b[10], a[10], c[10] = {500, 1000, 1500, 2000, 2500};   double Max(double x, double y) { return x > y ? x : y; }   int main() {     int n, m1, m2, m3, m4, m5, i, j, k;     while (~scanf( %lf , &a[0])) {       for (i = 1; i < 5; i++) scanf( %lf , &a[i]);       for (i = 0; i < 5; i++) scanf( %lf , &b[i]);       double ans = 0;       for (i = 0; i < 5; i++) {         ans +=             Max(0.3 * c[i], (1 - (a[i] * 1.0 / (250 * 1.0))) * c[i] - 50 * b[i]);       }       int x, y;       scanf( %d %d , &x, &y);       ans += x * 100;       ans -= y * 50;       printf( %.0lf n , ans);     }     return 0;   }   