0_0_39570577_27982.cpp: In function 'void solve()':
0_0_39570577_27982.cpp:9:12: error: 'vector' was not declared in this scope
9 | vector<vector<int>> e(n+1);
| ^~~~~~
0_0_39570577_27982.cpp:4:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
3 | #include <map>
+++ |+#include <vector>
4 | typedef long long ll;
0_0_39570577_27982.cpp:9:19: error: expected primary-expression before 'int'
9 | vector<vector<int>> e(n+1);
| ^~~
0_0_39570577_27982.cpp:12:9: error: 'e' was not declared in this scope; did you mean 'std::numbers::e'?
12 | e[x].push_back(i);
| ^
| std::numbers::e
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/max_size_type.h:37,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_base.h:39,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string_view:48,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:47,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:54,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/locale_classes.h:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:41,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ios:44,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ostream:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:41,
from 0_0_39570577_27982.cpp:1:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:122:27: note: 'std::numbers::e' declared here
122 | inline constexpr double e = e_v<double>;
| ^
0_0_39570577_27982.cpp:15:14: error: 'e' was not declared in this scope; did you mean 'std::numbers::e'?
15 | sort(e[i].begin(), e[i].end(), greater<int>());
| ^
| std::numbers::e
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:122:27: note: 'std::numbers::e' declared here
122 | inline constexpr double e = e_v<double>;
| ^
0_0_39570577_27982.cpp:17:12: error: expected primary-expression before 'int'
17 | vector<int> dfn1(n+1);
| ^~~
0_0_39570577_27982.cpp: In lambda function:
0_0_39570577_27982.cpp:20:9: error: 'dfn1' was not declared in this scope; did you mean 'dfs1'?
20 | dfn1[u]=++cnt;
| ^~~~
| dfs1
0_0_39570577_27982.cpp:21:23: error: 'e' was not declared in this scope; did you mean 'std::numbers::e'?
21 | for(auto& v : e[u]) dfs1(v, dfs1);
| ^
| std::numbers::e
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:122:27: note: 'std::numbers::e' declared here
122 | inline constexpr double e = e_v<double>;
| ^
0_0_39570577_27982.cpp: In function 'void solve()':
0_0_39570577_27982.cpp:25:14: error: 'e' was not declared in this scope; did you mean 'std::numbers::e'?
25 | sort(e[i].begin(), e[i].end());
| ^
| std::numbers::e
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:122:27: note: 'std::numbers::e' declared here
122 | inline constexpr double e = e_v<double>;
| ^
0_0_39570577_27982.cpp:27:12: error: expected primary-expression before 'int'
27 | vector<int> dfn2(n+1);
| ^~~
0_0_39570577_27982.cpp: In lambda function:
0_0_39570577_27982.cpp:30:9: error: 'dfn2' was not declared in this scope; did you mean 'dfs2'?
30 | dfn2[u]=++cnt;
| ^~~~
| dfs2
0_0_39570577_27982.cpp:31:23: error: 'e' was not declared in this scope; did you mean 'std::numbers::e'?
31 | for(auto& v : e[u]) dfs2(v, dfs2);
| ^
| std::numbers::e
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:122:27: note: 'std::numbers::e' declared here
122 | inline constexpr double e = e_v<double>;
| ^
0_0_39570577_27982.cpp: In function 'void solve()':
0_0_39570577_27982.cpp:34:19: error: 'dfn1' was not declared in this scope; did you mean 'dfs1'?
34 | cout<<n+1-dfn1[i]<<" "<<n+1-dfn2[i]<<" ";
| ^~~~
| dfs1
0_0_39570577_27982.cpp:34:37: error: 'dfn2' was not declared in this scope; did you mean 'dfs2'?
34 | cout<<n+1-dfn1[i]<<" "<<n+1-dfn2[i]<<" ";
| ^~~~
| dfs2
|