Max_Flow.cpp
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int inf = 1e9;
const long long INF = 1e17; //❄️
int main() {
ios::sync_with_stdio(0); cin.tie(0);
int t, n; cin >> t;
while (t--) {
cin >> n;
int ans = 0;
for (int i = 0; i < n; i++) {
int x; cin >> x;
ans = max(ans, x);
}
cout << ans << '\n';
}
return 0;
}