#include<iostream>
#include<cstdio>
#include<algorithm>
#include<cstring>
#include<cmath>
using namespace std;
int main()
{
long long test, t, i, n, a[1000];
scanf("%lld", &test);
for(t=1; t<=test; t++)
{
scanf("%lld", &n);
for(i=1; i<=n; i++)
{
scanf("%lld", &a[i]);
}
sort(a, a+i);
printf("Case %lld: %lld\n", t, a[n]);
}
return 0;
}
No comments:
Post a Comment