shortcut.cpp: In function 'void Out(std::vector<long long int>)':
shortcut.cpp:15:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define REP(i,a,b) for(ll i=a; i<b; i++)
shortcut.cpp:24:29:
void Out(vector<ll> x) {REP(i,0,x.size()) {cout<<x[i]<<" ";} cout<<endl;}
~~~~~~~~~~~~
shortcut.cpp:24:25: note: in expansion of macro 'REP'
void Out(vector<ll> x) {REP(i,0,x.size()) {cout<<x[i]<<" ";} cout<<endl;}
^~~
shortcut.cpp: In member function 'std::vector<long long int> WG::Djikstra(ll)':
shortcut.cpp:15:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define REP(i,a,b) for(ll i=a; i<b; i++)
shortcut.cpp:56:17:
REP(i,0,adj[cur].size())
~~~~~~~~~~~~~~~~~~~
shortcut.cpp:56:13: note: in expansion of macro 'REP'
REP(i,0,adj[cur].size())
^~~
shortcut.cpp: In function 'll find_shortcut(int, std::vector<int>, std::vector<int>, int)':
shortcut.cpp:15:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define REP(i,a,b) for(ll i=a; i<b; i++)
shortcut.cpp:73:9:
REP(i,0,lll.size()) {l.pb((ll) lll[i]);}
~~~~~~~~~~~~~~
shortcut.cpp:73:5: note: in expansion of macro 'REP'
REP(i,0,lll.size()) {l.pb((ll) lll[i]);}
^~~
shortcut.cpp:15:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define REP(i,a,b) for(ll i=a; i<b; i++)
shortcut.cpp:74:9:
REP(i,0,ddd.size()) {r.pb((ll) ddd[i]);}
~~~~~~~~~~~~~~
shortcut.cpp:74:5: note: in expansion of macro 'REP'
REP(i,0,ddd.size()) {r.pb((ll) ddd[i]);}
^~~
shortcut.cpp:15:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define REP(i,a,b) for(ll i=a; i<b; i++)
shortcut.cpp:76:9:
REP(i,0,l.size())
~~~~~~~~~~~~
shortcut.cpp:76:5: note: in expansion of macro 'REP'
REP(i,0,l.size())
^~~
shortcut.cpp:15:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define REP(i,a,b) for(ll i=a; i<b; i++)
shortcut.cpp:81:9:
REP(i,0,r.size())
~~~~~~~~~~~~
shortcut.cpp:81:5: note: in expansion of macro 'REP'
REP(i,0,r.size())
^~~
shortcut.cpp:99:26: error: redeclaration of 'll ind'
mav=-INF; ll ind=0;
^~~
shortcut.cpp:95:29: note: 'll ind' previously declared here
ll mav=-INF; ll ind=0;
^~~