Anya.cpp: In function 'void InitAnya(int, int*, int*)':
Anya.cpp:10:9: warning: unused variable 'i' [-Wunused-variable]
int i, j;
^
Anya.cpp:10:12: warning: unused variable 'j' [-Wunused-variable]
int i, j;
^
Anya.cpp: At global scope:
Anya.cpp:6:12: warning: 'getL' defined but not used [-Wunused-variable]
static int getL;
^~~~
Boris.cpp: In function 'void InitBoris(int, int*, int*)':
Boris.cpp:11:12: warning: unused variable 'j' [-Wunused-variable]
int i, j;
^
Boris.cpp: In function 'int Boris(int)':
Boris.cpp:44:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<graph[idx].size();i++)
~^~~~~~~~~~~~~~~~~~
Boris.cpp:26:12: warning: unused variable 'j' [-Wunused-variable]
int i, j, dist[505][505];
^
Boris.cpp:47:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^