Aesthetic.cpp:4:28: error: template argument 1 is invalid
4 | vector<vector<,pair<int,int>>>g(3e5+5);
| ^~
Aesthetic.cpp:4:30: error: template argument 1 is invalid
4 | vector<vector<,pair<int,int>>>g(3e5+5);
| ^
Aesthetic.cpp:4:30: error: template argument 2 is invalid
Aesthetic.cpp: In function 'int main()':
Aesthetic.cpp:19:6: error: invalid types 'int[long long int]' for array subscript
19 | g[a].push_back({b,i});
| ^
Aesthetic.cpp:20:6: error: invalid types 'int[long long int]' for array subscript
20 | g[b].push_back({a,i});
| ^
Aesthetic.cpp:33:5: error: 'class std::queue<long long int>' has no member named 'push_back'
33 | q.push_back(1);
| ^~~~~~~~~
Aesthetic.cpp:36:5: error: 'v' was not declared in this scope
36 | v = q.top();
| ^
Aesthetic.cpp:36:11: error: 'class std::queue<long long int>' has no member named 'top'; did you mean 'pop'?
36 | v = q.top();
| ^~~
| pop
Aesthetic.cpp:40:13: error: 'u' was not declared in this scope
40 | if(dp[u] == -1)
| ^
Aesthetic.cpp:48:13: error: redeclaration of 'std::queue<long long int> q'
48 | queue<int>q;
| ^
Aesthetic.cpp:32:13: note: 'std::queue<long long int> q' previously declared here
32 | queue<int>q;
| ^
Aesthetic.cpp:49:5: error: 'class std::queue<long long int>' has no member named 'push_back'
49 | q.push_back(n);
| ^~~~~~~~~
Aesthetic.cpp:52:5: error: 'v' was not declared in this scope
52 | v = q.top();
| ^
Aesthetic.cpp:52:11: error: 'class std::queue<long long int>' has no member named 'top'; did you mean 'pop'?
52 | v = q.top();
| ^~~
| pop
Aesthetic.cpp:56:14: error: 'u' was not declared in this scope
56 | if(dp2[u] == -1)
| ^