// TLEの原因探し中... #include using namespace std; #define COUT_A( A , N ) for( int v = 0 ; v < N ; v++ ){ cout << A[v] << (v==N-1?"":" "); } cout << endl int main() { int T , N , M; cin >> T >> N >> M; for( int t = 0 ; t < T ; t++ ){ int L[N] = {}; cout << 1 << " "; COUT_A( L , N ); cin >> M; for( int j = 0 ; j < 3 ; j++ ){ for( int i = 0 ; i < N ; i++ ){ cin >> L[i]; } } } return 0; }