Azer.cpp: In function 'void InitA(int, int, std::vector<int>, std::vector<int>, std::vector<int>)':
Azer.cpp:29:17: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(ll i=0;i<g[0].size();i++)
| ~^~~~~~~~~~~~
Azer.cpp:39:33: error: invalid use of member function 'std::priority_queue<_Tp, _Sequence, _Compare>::const_reference std::priority_queue<_Tp, _Sequence, _Compare>::top() const [with _Tp = std::pair<int, int>; _Sequence = std::vector<std::pair<int, int> >; _Compare = std::greater<std::pair<int, int> >; std::priority_queue<_Tp, _Sequence, _Compare>::const_reference = const std::pair<int, int>&]' (did you forget the '()' ?)
39 | if(w[q.top().nd]>0 or(q.top.nd==0 && e))
| ~~^~~
| ()
Azer.cpp:39:37: error: expected ')' before 'second'
39 | if(w[q.top().nd]>0 or(q.top.nd==0 && e))
| ~ ^
| )
Azer.cpp:42:10: error: expected ')' before 'else'
42 | }
| ^
| )
43 | else
| ~~~~
Azer.cpp:39:11: note: to match this '('
39 | if(w[q.top().nd]>0 or(q.top.nd==0 && e))
| ^
Azer.cpp:98:5: error: expected primary-expression before '}' token
98 | }
| ^
Azer.cpp:33:10: warning: unused variable 'y' [-Wunused-variable]
33 | bool y=false;
| ^
Azer.cpp:35:10: warning: unused variable 'e' [-Wunused-variable]
35 | bool e=true;
| ^
Baijan.cpp: In function 'void InitB(int, int, std::vector<int>, std::vector<int>, std::vector<int>)':
Baijan.cpp:18:17: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(ll i=0;i<g[0].size();i++)
| ~^~~~~~~~~~~~
Baijan.cpp:28:33: error: invalid use of member function 'std::priority_queue<_Tp, _Sequence, _Compare>::const_reference std::priority_queue<_Tp, _Sequence, _Compare>::top() const [with _Tp = std::pair<int, int>; _Sequence = std::vector<std::pair<int, int> >; _Compare = std::greater<std::pair<int, int> >; std::priority_queue<_Tp, _Sequence, _Compare>::const_reference = const std::pair<int, int>&]' (did you forget the '()' ?)
28 | if(w[q.top().nd]>0 or(q.top.nd==0 && e))
| ~~^~~
| ()
Baijan.cpp:28:37: error: expected ')' before 'second'
28 | if(w[q.top().nd]>0 or(q.top.nd==0 && e))
| ~ ^
| )
Baijan.cpp:31:10: error: expected ')' before 'else'
31 | }
| ^
| )
32 | else
| ~~~~
Baijan.cpp:28:11: note: to match this '('
28 | if(w[q.top().nd]>0 or(q.top.nd==0 && e))
| ^
Baijan.cpp:92:5: error: expected primary-expression before '}' token
92 | }
| ^
Baijan.cpp:22:10: warning: unused variable 'x' [-Wunused-variable]
22 | bool x=false;
| ^
Baijan.cpp:25:10: warning: unused variable 'e' [-Wunused-variable]
25 | bool e=true;
| ^