/*
Problem link
*/
#include <iostream>
#include <cstdio>
using namespace std;
int main() {
int ntest, n;
cin >> ntest;
for (int test=1; test<=ntest; test++)
{
cin >> n;
int max = 0, value;
for (int i=1; i<=n; i++)
{
cin >> value;
if (value>max) max = value;
}
printf("Case %d: %d\n",test, max);
}
}
No comments:
Post a Comment