/in/main.cpp:110:28: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
int** use = new int* [sN];
~~~ ^~
/in/main.cpp:111:28: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
char** map = new char*[sN];
~~~ ^~
/in/main.cpp:113:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
use[i] = new int [sM];
~~~ ^~
/in/main.cpp:114:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
map[i] = new char[sM];
~~~ ^~
/in/main.cpp:245:34: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
Node* tmp = trip[i];
~~~~ ^
/in/main.cpp:252:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
char** tmpMap = new char*[sN];
~~~ ^~
/in/main.cpp:254:40: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
tmpMap[i] = new char[sM];
~~~ ^~
/in/main.cpp:255:40: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
tmpMap[i+1] = new char[sM];
~~~ ^~
/in/main.cpp:256:40: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
tmpMap[i+2] = new char[sM];
~~~ ^~
/in/main.cpp:257:40: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
tmpMap[i+3] = new char[sM];
~~~ ^~
/in/main.cpp:261: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:263: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:269:43: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
targetChar = trip[i]->key;
~~~~ ^
/in/main.cpp:276: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:287: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:299: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:300: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:300: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:308:39: warning: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Wsign-conversion]
targetChar = lead[i]->key;
~~~~ ^
/in/main.cpp:311: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:312: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:312: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:312: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:312: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:314: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:314: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:315: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:315: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:318: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:318: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:318: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:318: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:321: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.
/tmp/main-1f6b8a.o: In function `main':
main.cpp:(.text+0x480): undefined reference to `Stack::Stack()'
main.cpp:(.text+0x48c): undefined reference to `vtable for Queue'
main.cpp:(.text+0x80a): undefined reference to `Stack::Stack()'
main.cpp:(.text+0x86e): undefined reference to `Stack::push(Node*)'
main.cpp:(.text+0x1d6e): undefined reference to `Stack::empty()'
main.cpp:(.text+0x1d7c): undefined reference to `Stack::get()'
main.cpp:(.text+0x1d89): undefined reference to `Stack::pop()'
main.cpp:(.text+0x1e73): undefined reference to `vtable for Stack'
main.cpp:(.text+0x1e8e): undefined reference to `vtable for Queue'
main.cpp:(.text+0x1ee3): undefined reference to `vtable for Stack'
main.cpp:(.text+0x233f): undefined reference to `vtable for Queue'
main.cpp:(.text+0x2364): undefined reference to `vtable for Stack'
main.cpp:(.text+0x23ee): undefined reference to `vtable for Stack'
main.cpp:(.text+0x2410): undefined reference to `vtable for Stack'
main.cpp:(.text+0x242b): undefined reference to `vtable for Queue'
main.cpp:(.text+0x2449): undefined reference to `vtable for Queue'
main.cpp:(.text+0x24a7): undefined reference to `vtable for Stack'
clang: error: linker command failed with exit code 1 (use -v to see invocation)