#include <iostream>
using namespace std;
// FILE* stream;
int main(void) {
// freopen_s(&stream, "Text.txt", "r", stdin);
int T;
cin >> T;
for (int t = 0; t < T;t++) {
int N;
int s;
int max = 0;
cin >> N;
for (int i = 0; i < N; i++) {
cin >> s;
if (s > max) {
max = s;
}
}
cout << "Case " << t + 1 << ": " << max << endl;
}
return 0;
}
'알고리즘 트레이닝 > UVa' 카테고리의 다른 글
441 - Lotto (0) | 2019.11.06 |
---|---|
146 - ID Codes (0) | 2019.11.04 |
573 - The Snail (0) | 2019.11.02 |
11559 - Event Planning (0) | 2019.11.02 |
11172 - Relational Operator (0) | 2019.11.02 |