joi2019_ho_t3.cpp: In function 'int main()':
joi2019_ho_t3.cpp:19:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<s.size(); i++){
~^~~~~~~~~
joi2019_ho_t3.cpp:24:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<s.size(); i++){
~^~~~~~~~~
joi2019_ho_t3.cpp:26:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=i; j<s.size(); j++){
~^~~~~~~~~
joi2019_ho_t3.cpp:37:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=i; j<s.size(); j++){
~^~~~~~~~~
joi2019_ho_t3.cpp:49:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<s.size(); i++){
~^~~~~~~~~
joi2019_ho_t3.cpp:51:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=i; j<s.size(); j++){
~^~~~~~~~~
joi2019_ho_t3.cpp:62:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=i; j<s.size(); j++){
~^~~~~~~~~
joi2019_ho_t3.cpp:17:9: warning: unused variable 'r' [-Wunused-variable]
int r=0, g=0;
^
joi2019_ho_t3.cpp:17:14: warning: unused variable 'g' [-Wunused-variable]
int r=0, g=0;
^