dreaming.cpp: In function 'void dfs(int, int, long long int)':
dreaming.cpp:32:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define FOR(i,a,b) for (int i = a; i < b; i++)
dreaming.cpp:75:9:
FOR(i,0,adj[cv].size()){
~~~~~~~~~~~~~~~~~~
dreaming.cpp:75:5: note: in expansion of macro 'FOR'
FOR(i,0,adj[cv].size()){
^~~
dreaming.cpp: In function 'void fpath(int, int, long long int)':
dreaming.cpp:32:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define FOR(i,a,b) for (int i = a; i < b; i++)
dreaming.cpp:91:9:
FOR(i,0,adj[cv].size()){
~~~~~~~~~~~~~~~~~~
dreaming.cpp:91:5: note: in expansion of macro 'FOR'
FOR(i,0,adj[cv].size()){
^~~
dreaming.cpp: In function 'long long int center(int)':
dreaming.cpp:32:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define FOR(i,a,b) for (int i = a; i < b; i++)
dreaming.cpp:122:9:
FOR(i,0,path.size()){
~~~~~~~~~~~~~~~
dreaming.cpp:122:5: note: in expansion of macro 'FOR'
FOR(i,0,path.size()){
^~~
dreaming.cpp: In function 'long long int travelTime(int, int, int, int*, int*, int*)':
dreaming.cpp:130:4: error: ambiguating new declaration of 'long long int travelTime(int, int, int, int*, int*, int*)'
ll travelTime(int n,int m,int l,int a[],int b[],int t[]){
^~~~~~~~~~
In file included from dreaming.cpp:22:0:
dreaming.h:8:5: note: old declaration 'int travelTime(int, int, int, int*, int*, int*)'
int travelTime(int N, int M, int L, int A[], int B[], int T[]);
^~~~~~~~~~