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:86: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:87:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(arr[mid].size()>i && x>y){//cout<<i<<" "<<x<<" "<<y<<endl;
~~~~~~~~~~~~~~~^~
selling_rna.cpp:102:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<p.size() && b;i++){
~^~~~~~~~~
selling_rna.cpp:103: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:106:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<p.size();i++){
~^~~~~~~~~
selling_rna.cpp:107: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:113:7: warning: unused variable 'end' [-Wunused-variable]
int end=lo;
^~~