/in/main.cpp:173:28: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
int** use = new int* [sN];
~~~ ^~
/in/main.cpp:174:28: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
char** map = new char*[sN];
~~~ ^~
/in/main.cpp:176:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
use[i] = new int [sM];
~~~ ^~
/in/main.cpp:177:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
map[i] = new char[sM];
~~~ ^~
/in/main.cpp:308:34: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
Node* tmp = trip[i];
~~~~ ^
/in/main.cpp:315:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
char** tmpMap = new char*[sN];
~~~ ^~
/in/main.cpp:317:40: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
tmpMap[i] = new char[sM];
~~~ ^~
/in/main.cpp:318:40: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
tmpMap[i+1] = new char[sM];
~~~ ^~
/in/main.cpp:319:40: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
tmpMap[i+2] = new char[sM];
~~~ ^~
/in/main.cpp:320:40: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
tmpMap[i+3] = new char[sM];
~~~ ^~
/in/main.cpp:324:38: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
if (targetChar!=trip[i]->key){
~~~~ ^
/in/main.cpp:326:43: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
tmp->key = trip[i]->key;
~~~~ ^
/in/main.cpp:332:43: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
targetChar = trip[i]->key;
~~~~ ^
/in/main.cpp:339:41: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
char tmpCheck = tmpLead[i]->key;
~~~~~~~ ^
/in/main.cpp:350:40: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
lead.push_back(tmpLead[i]);
~~~~~~~ ^
/in/main.cpp:362:38: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
if (targetChar!=lead[i]->key){
~~~~ ^
/in/main.cpp:363:40: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
targetChar = (lead[i]->key=='a'+(char)col) ? '^' : lead[i]->key;
~~~~ ^
/in/main.cpp:363:77: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
targetChar = (lead[i]->key=='a'+(char)col) ? '^' : lead[i]->key;
~~~~ ^
/in/main.cpp:371:39: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
targetChar = lead[i]->key;
~~~~ ^
/in/main.cpp:374:26: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
if (lead[i]->x==-1) continue;
~~~~ ^
/in/main.cpp:375:42: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
int tmpX = trip[lead[i]->x]->x, tmpY = trip[lead[i]->x]->y;
~~~~ ~~~~~~~~~^
/in/main.cpp:375:38: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
int tmpX = trip[lead[i]->x]->x, tmpY = trip[lead[i]->x]->y;
~~~~ ^
/in/main.cpp:375:70: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
int tmpX = trip[lead[i]->x]->x, tmpY = trip[lead[i]->x]->y;
~~~~ ~~~~~~~~~^
/in/main.cpp:375:66: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
int tmpX = trip[lead[i]->x]->x, tmpY = trip[lead[i]->x]->y;
~~~~ ^
/in/main.cpp:377:34: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
for (int j=(lead[i]->x)-1;j>=lead[i]->y+1;j--){
~~~~ ^
/in/main.cpp:377:51: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
for (int j=(lead[i]->x)-1;j>=lead[i]->y+1;j--){
~~~~ ^
/in/main.cpp:378:33: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
tmpX = trip[j]->x; tmpY = trip[j]->y;
~~~~ ^
/in/main.cpp:378:52: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
tmpX = trip[j]->x; tmpY = trip[j]->y;
~~~~ ^
/in/main.cpp:381:38: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
tmpX = trip[lead[i]->y]->x; tmpY = trip[lead[i]->y]->y;
~~~~ ~~~~~~~~~^
/in/main.cpp:381:34: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
tmpX = trip[lead[i]->y]->x; tmpY = trip[lead[i]->y]->y;
~~~~ ^
/in/main.cpp:381:66: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
tmpX = trip[lead[i]->y]->x; tmpY = trip[lead[i]->y]->y;
~~~~ ~~~~~~~~~^
/in/main.cpp:381:62: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
tmpX = trip[lead[i]->y]->x; tmpY = trip[lead[i]->y]->y;
~~~~ ^
/in/main.cpp:384:62: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
for (int i=0;i<(int)lead.size();i++) delete lead[i];
~~~~ ^
33 warnings generated.