#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>K>>N>>F; REP(i,F)cin>>A[i]; int ans=K*N-accumulate(A,A+F,0); chmax(ans,-1); cout<>TE; while(TE--)sol(); }