selling_rna.cpp: In function 'bool cmp(std::__cxx11::string, std::__cxx11::string)':
selling_rna.cpp:10:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a.size() && i<b.size();i++){
~^~~~~~~~~
selling_rna.cpp:10:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a.size() && i<b.size();i++){
~^~~~~~~~~
selling_rna.cpp: In function 'bool cmp2(std::__cxx11::string, std::__cxx11::string)':
selling_rna.cpp:18:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a.size() && i<b.size();i++){
~^~~~~~~~~
selling_rna.cpp:18:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a.size() && i<b.size();i++){
~^~~~~~~~~
selling_rna.cpp: In function 'int main()':
selling_rna.cpp:49:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<arr[i].size();j++){
~^~~~~~~~~~~~~~
selling_rna.cpp:71:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<p.size();i++){
~^~~~~~~~~
selling_rna.cpp:83:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<p.size() && b && !b2;i++){
~^~~~~~~~~
selling_rna.cpp:84:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(arr[mid].size()<=i || arr[mid].at(i)<p.at(i))b=false;
~~~~~~~~~~~~~~~^~~
selling_rna.cpp:85:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(arr[mid].size()>i && arr[mid].at(i)>p.at(i)){//cout<<i<<" "<<x<<" "<<y<<endl;
~~~~~~~~~~~~~~~^~
selling_rna.cpp:100:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<p.size() && b;i++){
~^~~~~~~~~
selling_rna.cpp:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(arr[mid].size()<=i || arr[mid].at(i)<p.at(i))b=false;
~~~~~~~~~~~~~~~^~~
selling_rna.cpp:104:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<p.size();i++){
~^~~~~~~~~
selling_rna.cpp:105:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(arr[mid].size()<=i || arr[mid].at(i)!=p.at(i))b=false;
~~~~~~~~~~~~~~~^~~
selling_rna.cpp:111:7: warning: unused variable 'end' [-Wunused-variable]
int end=lo;
^~~