#define _CRT_SECURE_NO_WARNINGS #define _USE_MATH_DEFINES #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; int main() { for (int i = 0;i < 10;++i) { for (int q = 0;q < 10;++q) { for (int p = 0;p < 10;++p) { cout << i << q << p << flush; string a; cin >> a; cout << flush; if (a[0] == 'u') { goto end; } } } } end:; }