wild_boar.cpp: In function 'void preprocess()':
wild_boar.cpp:87:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 3; k < pth.size(); k++){
~~^~~~~~~~~~~~
wild_boar.cpp:95:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int x = 0; x < pth.size(); x++){
~~^~~~~~~~~~~~
wild_boar.cpp:99:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = x + 1; k < pth.size(); k++){
~~^~~~~~~~~~~~
wild_boar.cpp:110:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int x = 0; x < pth.size(); x++){
~~^~~~~~~~~~~~
wild_boar.cpp:114:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = x + 1; k < pth.size(); k++){
~~^~~~~~~~~~~~
wild_boar.cpp: In function 'int main()':
wild_boar.cpp:143:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0; k<plist[a[0]][a[1]].size(); k++){
~^~~~~~~~~~~~~~~~~~~~~~~~~
wild_boar.cpp:147:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int x = 0; x < plist[a[k - 2]][a[k - 1]].size(); x++){
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wild_boar.cpp:148:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int y = 0; y < plist[a[k - 1]][a[k]].size(); y++){
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wild_boar.cpp: In function 'void preprocess()':
wild_boar.cpp:29:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int s, e, x; scanf("%d %d %d",&s,&e,&x);
~~~~~^~~~~~~~~~~~~~~~~~~~~
wild_boar.cpp: In function 'int main()':
wild_boar.cpp:135:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&n,&m,&q,&l);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
wild_boar.cpp:137:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=0; i<l; i++) scanf("%d",&a[i]);
~~~~~^~~~~~~~~~~~
wild_boar.cpp:139:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int x, v; scanf("%d %d",&x,&v);
~~~~~^~~~~~~~~~~~~~~