#include using namespace std; using Int=long long; using Real=long double; templateinline bool chmin(T&A,S B){if(A>B){A=B;return true;}else{return false;}} templateinline bool chmax(T&A,S B){if(A>N; REP(i,N)cin>>A[i]; int ans=1e9; REP(i,N-1)chmin(ans,A[i+1]-A[i]); cout<>T; while(T--)sol(); }