#include #include using namespace std; int main() { for (char i = '0'; i <= '9'; i++) { for (char j = '0'; j <= '9'; j++) { for (char k = '0'; k <= '9'; k++) { cout << i << j << k << endl << flush; string s; cin >> s; if (s[0] == 'u')return 0; } } } }