ancient2.cpp: In function 'std::string Solve(long long int)':
ancient2.cpp:20:21: error: 'a' was not declared in this scope
20 | rep(i, 0, 1000){a
| ^
ancient2.cpp:21:34: error: expected primary-expression before ',' token
21 | int ret = Query(2, {0, 0}, {1, 1});
| ^
ancient2.cpp:21:36: error: expected primary-expression before '{' token
21 | int ret = Query(2, {0, 0}, {1, 1});
| ^
ancient2.cpp:21:42: error: expected primary-expression before ')' token
21 | int ret = Query(2, {0, 0}, {1, 1});
| ^
ancient2.cpp:22:12: error: 'ret' was not declared in this scope; did you mean 'rep'?
22 | if(ret==0){
| ^~~
| rep