Skip to content

Instantly share code, notes, and snippets.

@tico88612
Last active March 30, 2018 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tico88612/02fba7b8a0f5306edbebb3876979c8fe to your computer and use it in GitHub Desktop.
Save tico88612/02fba7b8a0f5306edbebb3876979c8fe to your computer and use it in GitHub Desktop.
#include <bits/stdc++.h>
using namespace std;
int main()
{
ios::sync_with_stdio(0);cin.tie(0);
int N,M,K;
cin>>N>>M>>K;
int maxx=0;
for(int i=0;i<N;i++)
for(int j=0;j<M;j++){
int q;
cin>>q;
maxx=max(maxx,q);
}
double a=(double)maxx;
cout<<fixed<<setprecision(K)<<a<<endl;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment