For this Question: Straight and Simple.
Given N numbers, A[1], A[2],. , A[N], find their average.

Refer <a href="https://en.wikipedia.org/wiki/Average">here</a> for better understanding of average.The first line of the input contains a single integer N. 
The second line of the input contains N singly spaced integers, A[1]...A[N].

Constraints
1 <= N <= 300000
0 <= A[i] <= 10<sup>18</sup> (for i = 1 to N)If the average is X, report <b>floor(X)</b>.Sample Input
5
1 2 3 4 6

Sample Output
3

Explanation:
(1 + 2 + 3 + 4 + 6) / 5 = 3.2. floor(3.2) = 3.

Sample Input
5
3 60 9 28 30 

Sample Output
26, I have written this Solution Code: #include "bits/stdc++.h"
#pragma GCC optimize "03"
using namespace std;
 
#define int long long int
#define ld long double
#define pi pair<int, int>
#define pb push_back
#define fi first
#define se second
#define IOS ios::sync_with_stdio(false); cin.tie(0); cout.tie(0)
#ifndef LOCAL
#define endl '\n'
#endif
 
const int N = 2e5 + 5;
const int mod = 1e9 + 7;
const int inf = 1e9 + 9;

signed main() {
	IOS;
	int n, cur = 0, rem = 0;
	cin >> n;
	for(int i = 1; i <= n; i++){
		int p;	cin >> p;
		cur += (p + rem)/n;
		rem = (p + rem)%n;
	}	
	cout << cur;
	return 0;
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?