# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
676347 | _________ | Mean (info1cup19_mean) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
using namespace std;
int main()
{
int x; cin>>x;
int s,ss;
cin>>ss; for(int o=0;o<x-1;o++){ cin>>s;ss=(s+ss)/2;}
cout<<ss; return 0; }