func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(false);     cin.tie(0);     cout.tie(0);     int n;     cin >> n;     int arr[n];     int count = 0;     int count1 = 0;     for (int i = 0; i < n; i++) {       cin >> arr[i];       if (arr[i] & 1) {         count++;       }     }     int f[n];     int sum = 0;     for (int i = 0; i < n; i++) {       f[i] = floor(double(arr[i]) / 2);       sum += f[i];     }     for (int i = 0; i < n; i++) {       if (sum == 0) break;       if (arr[i] & 1) {         sum++;         f[i]++;       }     }     for (int i = 0; i < n; i++) {       cout << f[i] << endl;     }     return 0;   }   