library.cpp: In function 'void Solve(int)':
library.cpp:4:2: error: 'vector' was not declared in this scope
4 | vector < int > ans , v(n,0) , cur ;
| ^~~~~~
library.cpp:4:11: error: expected primary-expression before 'int'
4 | vector < int > ans , v(n,0) , cur ;
| ^~~
library.cpp:12:13: error: 'cur' was not declared in this scope
12 | cur = v ;
| ^~~
library.cpp:12:19: error: 'v' was not declared in this scope
12 | cur = v ;
| ^
library.cpp:14:18: error: 'Query' was not declared in this scope
14 | if ( Query(cur) == 1 ) sum++ ;
| ^~~~~
library.cpp:16:27: error: 'ans' was not declared in this scope
16 | if ( sum == 1 ) { ans.push_back(i) ; break ; }
| ^~~
library.cpp:21:9: error: 'v' was not declared in this scope
21 | v[ans[ans.size()-1]] = 1 ;
| ^
library.cpp:21:11: error: 'ans' was not declared in this scope
21 | v[ans[ans.size()-1]] = 1 ;
| ^~~
library.cpp:25:13: error: 'cur' was not declared in this scope
25 | cur = v ;
| ^~~
library.cpp:27:18: error: 'Query' was not declared in this scope
27 | if ( Query(cur) == 1 )
| ^~~~~
library.cpp:34:37: error: 'ans' was not declared in this scope
34 | for ( int i = 0 ; i < n ; i++ ) ans[i]++ ;
| ^~~
library.cpp:35:12: error: 'ans' was not declared in this scope
35 | Answer(ans) ;
| ^~~
library.cpp:35:5: error: 'Answer' was not declared in this scope
35 | Answer(ans) ;
| ^~~~~~