vassal.cpp:7:5: error: 'ar' was not declared in this scope
7 | set<ar<int, 2>> st;
| ^~
vassal.cpp:7:14: error: template argument 1 is invalid
7 | set<ar<int, 2>> st;
| ^~
vassal.cpp:7:14: error: template argument 2 is invalid
vassal.cpp:7:14: error: template argument 3 is invalid
vassal.cpp: In function 'void Init(long long int, std::vector<int>)':
vassal.cpp:10:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for (int i=0; i<C.size(); ++i)
| ~^~~~~~~~~
vassal.cpp:11:6: error: request for member 'insert' in 'st', which is of non-class type 'int'
11 | st.insert({C[i], i+1});
| ^~~~~~
vassal.cpp: In function 'int Maid(int)':
vassal.cpp:15:13: error: request for member 'lower_bound' in 'st', which is of non-class type 'int'
15 | auto it=st.lower_bound({W});
| ^~~~~~~~~~~
vassal.cpp:16:13: error: request for member 'end' in 'st', which is of non-class type 'int'
16 | if (it==st.end())
| ^~~
vassal.cpp:19:5: error: request for member 'erase' in 'st', which is of non-class type 'int'
19 | st.erase(it);
| ^~~~~