foo.cc:2:19: error: expected ‘;’ before ‘using’
2 | using ll=long long
| ^
| ;
3 | using namespace std;
| ~~~~~
foo.cc: In function ‘void Init()’:
foo.cc:67:5: error: ‘sort’ was not declared in this scope; did you mean ‘std::sort’?
67 | sort(q, q + qn);
| ^~~~
| std::sort
In file included from /nix/gcc-13.2.0/include/c++/13.2.0/algorithm:61,
from stdc++.h:51:
/nix/gcc-13.2.0/include/c++/13.2.0/bits/stl_algo.h:4882:5: note: ‘std::sort’ declared here
4882 | sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
| ^~~~
foo.cc: At global scope:
foo.cc:89:1: error: ‘queue’ does not name a type
89 | queue<Node*> que;
| ^~~~~
foo.cc: In function ‘void buildFail()’:
foo.cc:92:5: error: ‘que’ was not declared in this scope
92 | que.push(Rt);
| ^~~