func_code_string: #include <bits/stdc++.h>   using namespace std;   const int N = 10005;   int n, a[N];   int cnt[N];   int main() {     int T;     srand(time(0));     scanf( %d , &(T));     while (T--) {       memset(cnt, 0, sizeof(cnt));       double ex = 0;       for (int i = 1; i <= 250; i++)         scanf( %d , &(a[i])), cnt[a[i]]++, ex += a[i];       ex /= 250;       int tot = 0;       for (int i = 1; i <= ex / 3; i++) tot += cnt[i];       if (tot < 250 / 6 - 25) {       } else {         double dx = 0;         dx = 0;         for (int i = 1; i <= 250; i++) dx = max(dx, (double)a[i]);         dx /= 2.0;         ex = dx;       }       printf( %.0lf n , ex);     }     return 0;   }   