#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>H>>W; REP(i,H*W)cin>>A[i]; sort(A,A+H*W); REP(i,H*W)cout<>T; while(T--)sol(); }