#include<bits/stdc++.h> using namespace std; int main(){ char map[1000][1000]; for(int i=0;i<1000;i++){ for(int j=0;j<1000;j++){ map[i][j]='#'; } } string command="LEFT"; bool all_explored=true; while (true) { string feedback; cout << command << endl; cin >> feedback; if (all_explored) { cout << "END" << endl; cout << n << " " << m << endl; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { cout << map[i][j]; } cout << endl; } break; else{ } } }