Skip to content

Instantly share code, notes, and snippets.

@swapnil-warke
Last active December 18, 2015 13:39
Show Gist options
  • Save swapnil-warke/5791834 to your computer and use it in GitHub Desktop.
Save swapnil-warke/5791834 to your computer and use it in GitHub Desktop.
uva11799
#include<iostream>
using namespace std;
int main()
{
int n,t;
cin>>t;
while(t--)
{
cin>>n;
int mx=numeric_limits<int>::min();
rep(i,n)
{
int temp;
cin>>temp;
mx=max(temp,mx);
}
cout<<"Case "<<k+1<<": "<<mx<<endl;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment