password.cpp:16:5: error: 'cin' does not name a type; did you mean 'sin'?
16 | cin.tie(0);
| ^~~
| sin
password.cpp:18:5: error: 'cin' does not name a type; did you mean 'sin'?
18 | cin >> tt;
| ^~~
| sin
password.cpp:12:26: error: expected unqualified-id before 'for'
12 | #define rep(i, a, b) for (int i = a; i <= b; i++)
| ^~~
password.cpp:19:5: note: in expansion of macro 'rep'
19 | rep(testcase, 1, tt)
| ^~~
password.cpp:19:9: error: 'testcase' does not name a type
19 | rep(testcase, 1, tt)
| ^~~~~~~~
password.cpp:12:42: note: in definition of macro 'rep'
12 | #define rep(i, a, b) for (int i = a; i <= b; i++)
| ^
password.cpp:19:9: error: 'testcase' does not name a type
19 | rep(testcase, 1, tt)
| ^~~~~~~~
password.cpp:12:50: note: in definition of macro 'rep'
12 | #define rep(i, a, b) for (int i = a; i <= b; i++)
| ^
password.cpp: In function 'std::string guess(int, int)':
password.cpp:30:20: error: 'query' was not declared in this scope
30 | f[i] = query(q);
| ^~~~~
password.cpp:58:21: error: 'query' was not declared in this scope
58 | if (query(q) == curlen + 1) {
| ^~~~~