0_0_38321835_7864.cpp: In function 'int main()':
0_0_38321835_7864.cpp:15:17: error: missing template arguments before 'in'
std::vector in(n+1, std::vector<int>());
^
0_0_38321835_7864.cpp:20:7: error: 'in' was not declared in this scope
in[b].push_back(a);
^
0_0_38321835_7864.cpp:33:16: error: 'in' was not declared in this scope
orep(it, in[vv].cbegin(), in[vv].cend()) {
^
0_0_38321835_7864.cpp:5:35: note: in definition of macro 'orep'
#define orep(i,l,r) for(auto i = (l); i < (r); ++i)
^
0_0_38321835_7864.cpp:35:62: error: no matching function for call to 'std::queue<st>::push(<brace-enclosed initializer list>)'
if (out[*it] == 0 && !used[*it]) { q.push({*it, pp+1}); }
^
0_0_38321835_7864.cpp:35:62: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
from 0_0_38321835_7864.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:215:7: note: void std::queue<_Tp, _Sequence>::push(const value_type&) [with _Tp = st; _Sequence = std::deque<st, std::allocator<st> >; std::queue<_Tp, _Sequence>::value_type = st]
push(const value_type& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:215:7: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const value_type& {aka const st&}'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:220:7: note: void std::queue<_Tp, _Sequence>::push(std::queue<_Tp, _Sequence>::value_type&&) [with _Tp = st; _Sequence = std::deque<st, std::allocator<st> >; std::queue<_Tp, _Sequence>::value_type = st]
push(value_type&& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:220:7: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::queue<st>::value_type&& {aka st&&}'
|