#include using namespace std; #define ll long long #define ul unsigned long long #define pb push_back #define ss second #define ff first #define fr(m) for(int i=0; i=0; --i) #define nl '\n' #define yes cout<<"YES"<>n>>l; vectorlamps(n); fr(n) cin>>lamps[i]; int mx=0; sort(all(lamps)); fro(n) { int x=lamps[i]-lamps[i-1]; mx=max(x,mx); } cout<> TC; while (TC--) solve(); }