swap.cpp:6:5: error: 'll' does not name a type
6 | ll w, x, y;
| ^~
swap.cpp:9:7: error: 'll' does not name a type
9 | const ll N = 1e5 + 100, M = 30;
| ^~
swap.cpp:10:13: error: 'll' was not declared in this scope
10 | vector<pair<ll, ll>> g[N];
| ^~
swap.cpp:10:17: error: 'll' was not declared in this scope
10 | vector<pair<ll, ll>> g[N];
| ^~
swap.cpp:10:17: error: template argument 1 is invalid
swap.cpp:10:17: error: template argument 2 is invalid
swap.cpp:10:19: error: template argument 1 is invalid
10 | vector<pair<ll, ll>> g[N];
| ^~
swap.cpp:10:19: error: template argument 2 is invalid
swap.cpp:10:24: error: 'N' was not declared in this scope
10 | vector<pair<ll, ll>> g[N];
| ^
swap.cpp:12:1: error: 'll' does not name a type
12 | ll prt[N], a[N], b[N], p[N][M], mx[N][M], tin[N], tout[N], tt;
| ^~
swap.cpp:13:9: error: 'N' was not declared in this scope
13 | bool fl[N], visited[N];
| ^
swap.cpp:13:21: error: 'N' was not declared in this scope
13 | bool fl[N], visited[N];
| ^
swap.cpp:14:8: error: 'll' was not declared in this scope
14 | vector<ll> v[N];
| ^~
swap.cpp:14:10: error: template argument 1 is invalid
14 | vector<ll> v[N];
| ^
swap.cpp:14:10: error: template argument 2 is invalid
swap.cpp:14:14: error: 'N' was not declared in this scope
14 | vector<ll> v[N];
| ^
swap.cpp: In function 'bool cmp(edge, edge)':
swap.cpp:17:14: error: 'struct edge' has no member named 'w'
17 | return a.w < b.w;
| ^
swap.cpp:17:20: error: 'struct edge' has no member named 'w'
17 | return a.w < b.w;
| ^
swap.cpp: At global scope:
swap.cpp:20:1: error: 'll' does not name a type
20 | ll findParent(ll x) {
| ^~
swap.cpp:26:6: error: variable or field 'addEdge' declared void
26 | void addEdge(ll x, ll y, ll w) {
| ^~~~~~~
swap.cpp:26:14: error: 'll' was not declared in this scope
26 | void addEdge(ll x, ll y, ll w) {
| ^~
swap.cpp:26:20: error: 'll' was not declared in this scope
26 | void addEdge(ll x, ll y, ll w) {
| ^~
swap.cpp:26:26: error: 'll' was not declared in this scope
26 | void addEdge(ll x, ll y, ll w) {
| ^~
swap.cpp:31:6: error: variable or field 'merge' declared void
31 | void merge(ll x, ll y, ll w) {
| ^~~~~
swap.cpp:31:12: error: 'll' was not declared in this scope
31 | void merge(ll x, ll y, ll w) {
| ^~
swap.cpp:31:18: error: 'll' was not declared in this scope
31 | void merge(ll x, ll y, ll w) {
| ^~
swap.cpp:31:24: error: 'll' was not declared in this scope
31 | void merge(ll x, ll y, ll w) {
| ^~
swap.cpp:72:6: error: variable or field 'dfs' declared void
72 | void dfs(ll x, ll par, ll w) {
| ^~~
swap.cpp:72:10: error: 'll' was not declared in this scope
72 | void dfs(ll x, ll par, ll w) {
| ^~
swap.cpp:72:16: error: 'll' was not declared in this scope
72 | void dfs(ll x, ll par, ll w) {
| ^~
swap.cpp:72:24: error: 'll' was not declared in this scope
72 | void dfs(ll x, ll par, ll w) {
| ^~
swap.cpp:89:1: error: 'll' does not name a type
89 | ll ispr(ll x, ll y) {
| ^~
swap.cpp:93:1: error: 'll' does not name a type
93 | ll lca(ll x, ll y) {
| ^~
swap.cpp:106:1: error: 'll' does not name a type
106 | ll findMax(ll x, ll y) {
| ^~
swap.cpp:120:6: error: variable or field 'init' declared void
120 | void init(ll N, ll M, vector<ll> U, vector<ll> V, vector<ll> W) {
| ^~~~
swap.cpp:120:11: error: 'll' was not declared in this scope
120 | void init(ll N, ll M, vector<ll> U, vector<ll> V, vector<ll> W) {
| ^~
swap.cpp:120:17: error: 'll' was not declared in this scope
120 | void init(ll N, ll M, vector<ll> U, vector<ll> V, vector<ll> W) {
| ^~
swap.cpp:120:30: error: 'll' was not declared in this scope
120 | void init(ll N, ll M, vector<ll> U, vector<ll> V, vector<ll> W) {
| ^~
swap.cpp:120:32: error: template argument 1 is invalid
120 | void init(ll N, ll M, vector<ll> U, vector<ll> V, vector<ll> W) {
| ^
swap.cpp:120:32: error: template argument 2 is invalid
swap.cpp:120:44: error: 'll' was not declared in this scope
120 | void init(ll N, ll M, vector<ll> U, vector<ll> V, vector<ll> W) {
| ^~
swap.cpp:120:46: error: template argument 1 is invalid
120 | void init(ll N, ll M, vector<ll> U, vector<ll> V, vector<ll> W) {
| ^
swap.cpp:120:46: error: template argument 2 is invalid
swap.cpp:120:58: error: 'll' was not declared in this scope
120 | void init(ll N, ll M, vector<ll> U, vector<ll> V, vector<ll> W) {
| ^~
swap.cpp:120:60: error: template argument 1 is invalid
120 | void init(ll N, ll M, vector<ll> U, vector<ll> V, vector<ll> W) {
| ^
swap.cpp:120:60: error: template argument 2 is invalid
swap.cpp:144:1: error: 'll' does not name a type
144 | ll getMinimumFuelCapacity(ll X, ll Y) {
| ^~