minerals.cpp:19:13: error: 'vector' does not name a type
   19 | #define vll vector<ll>
      |             ^~~~~~
minerals.cpp:32:1: note: in expansion of macro 'vll'
   32 | vll l,r;
      | ^~~
minerals.cpp:33:1: error: 'vector' does not name a type
   33 | vector<bool> vis(N);
      | ^~~~~~
minerals.cpp:22:13: error: 'vector' does not name a type
   22 | #define pll vector<pair<ll,ll>>
      |             ^~~~~~
minerals.cpp:34:1: note: in expansion of macro 'pll'
   34 | pll ans;
      | ^~~
minerals.cpp:37:6: error: variable or field 'dnc' declared void
   37 | void dnc(vll l,vll r){
      |      ^~~
minerals.cpp:19:13: error: 'vector' was not declared in this scope
   19 | #define vll vector<ll>
      |             ^~~~~~
minerals.cpp:37:10: note: in expansion of macro 'vll'
   37 | void dnc(vll l,vll r){
      |          ^~~
minerals.cpp:19:13: note: suggested alternatives:
   19 | #define vll vector<ll>
      |             ^~~~~~
minerals.cpp:37:10: note: in expansion of macro 'vll'
   37 | void dnc(vll l,vll r){
      |          ^~~
In file included from /usr/include/c++/10/vector:67,
                 from /usr/include/c++/10/functional:62,
                 from /usr/include/c++/10/pstl/glue_algorithm_defs.h:13,
                 from /usr/include/c++/10/algorithm:74,
                 from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
                 from minerals.cpp:2:
/usr/include/c++/10/bits/stl_vector.h:389:11: note:   'std::vector'
  389 |     class vector : protected _Vector_base<_Tp, _Alloc>
      |           ^~~~~~
In file included from /usr/include/c++/10/functional:62,
                 from /usr/include/c++/10/pstl/glue_algorithm_defs.h:13,
                 from /usr/include/c++/10/algorithm:74,
                 from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
                 from minerals.cpp:2:
/usr/include/c++/10/vector:86:13: note:   'std::pmr::vector'
   86 |       using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
      |             ^~~~~~
minerals.cpp:3:12: error: expected primary-expression before 'int'
    3 | #define ll int
      |            ^~~
minerals.cpp:19:20: note: in expansion of macro 'll'
   19 | #define vll vector<ll>
      |                    ^~
minerals.cpp:37:10: note: in expansion of macro 'vll'
   37 | void dnc(vll l,vll r){
      |          ^~~
minerals.cpp:19:13: error: 'vector' was not declared in this scope
   19 | #define vll vector<ll>
      |             ^~~~~~
minerals.cpp:37:16: note: in expansion of macro 'vll'
   37 | void dnc(vll l,vll r){
      |                ^~~
minerals.cpp:19:13: note: suggested alternatives:
   19 | #define vll vector<ll>
      |             ^~~~~~
minerals.cpp:37:16: note: in expansion of macro 'vll'
   37 | void dnc(vll l,vll r){
      |                ^~~
In file included from /usr/include/c++/10/vector:67,
                 from /usr/include/c++/10/functional:62,
                 from /usr/include/c++/10/pstl/glue_algorithm_defs.h:13,
                 from /usr/include/c++/10/algorithm:74,
                 from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
                 from minerals.cpp:2:
/usr/include/c++/10/bits/stl_vector.h:389:11: note:   'std::vector'
  389 |     class vector : protected _Vector_base<_Tp, _Alloc>
      |           ^~~~~~
In file included from /usr/include/c++/10/functional:62,
                 from /usr/include/c++/10/pstl/glue_algorithm_defs.h:13,
                 from /usr/include/c++/10/algorithm:74,
                 from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
                 from minerals.cpp:2:
/usr/include/c++/10/vector:86:13: note:   'std::pmr::vector'
   86 |       using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
      |             ^~~~~~
minerals.cpp:3:12: error: expected primary-expression before 'int'
    3 | #define ll int
      |            ^~~
minerals.cpp:19:20: note: in expansion of macro 'll'
   19 | #define vll vector<ll>
      |                    ^~
minerals.cpp:37:16: note: in expansion of macro 'vll'
   37 | void dnc(vll l,vll r){
      |                ^~~
minerals.cpp: In function 'void Solve(int)':
minerals.cpp:69:17: error: 'r' was not declared in this scope
   69 |         if(x==y)r.pb(i);
      |                 ^
minerals.cpp:70:14: error: 'l' was not declared in this scope
   70 |         else l.pb(i);
      |              ^
minerals.cpp:73:9: error: 'l' was not declared in this scope
   73 |     dnc(l,r);
      |         ^
minerals.cpp:73:11: error: 'r' was not declared in this scope
   73 |     dnc(l,r);
      |           ^
minerals.cpp:73:5: error: 'dnc' was not declared in this scope
   73 |     dnc(l,r);
      |     ^~~
minerals.cpp:65:10: warning: unused variable 'j' [-Wunused-variable]
   65 |     ll i,j;
      |          ^