potion.cpp: In function 'int main()':
potion.cpp:34:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for(j=0; j<v[i].size(); j++)
| ~^~~~~~~~~~~~
potion.cpp:42:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | for(j=0; j<v[i].size(); j++)
| ~^~~~~~~~~~~~
potion.cpp:51:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | for(j=0; j<v[x].size(); j++)
| ~^~~~~~~~~~~~
potion.cpp:57:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | for(j=0; j<v1[x].size(); j++)
| ~^~~~~~~~~~~~~
potion.cpp:60:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for(j=0; j<v1[x].size(); j++)
| ~^~~~~~~~~~~~~
potion.cpp:62:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for(j=0; j<v[y].size(); j++)
| ~^~~~~~~~~~~~
potion.cpp:68:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | for(j=0; j<v1[y].size(); j++)
| ~^~~~~~~~~~~~~
potion.cpp:71:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | for(j=0; j<v1[y].size(); j++)
| ~^~~~~~~~~~~~~
/usr/bin/ld: /tmp/cc6lrHXc.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccpLI78d.o:potion.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cc6lrHXc.o: in function `main':
grader.cpp:(.text.startup+0xec): undefined reference to `init(int, int, int*)'
/usr/bin/ld: grader.cpp:(.text.startup+0x184): undefined reference to `curseChanges(int, int*, int*)'
/usr/bin/ld: grader.cpp:(.text.startup+0x1d9): undefined reference to `question(int, int, int)'
collect2: error: ld returned 1 exit status