Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: Nuttykub
Problemset: Find Score
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-06 15:09:27
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main(){
int t,n;
int mx=0,mn=INT_MAX;
double total=0;
cin>>t;
for (int i=0;i<t;i++){
cin>>n;
total+=n;
if(mx<n) mx=n;
if(mn>n) mn=n;
}
cout << mx << endl << mn << endl;
cout << fixed << setprecision(2) << total/t;
}