/in/foo.cc: In function 'void supply(Line, Line&)':
/in/foo.cc:37:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(info2.music.size()==info2.ranking) return;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:94:24: warning: format '%c' expects argument of type 'char*', but argument 2 has type 'std::__cxx11::string* {aka std::__cxx11::basic_string<char>*}' [-Wformat=]
scanf("%c",&str);
^
/in/foo.cc:99:32: warning: format '%c' expects argument of type 'char*', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string<char> > >::value_type* {aka std::__cxx11::basic_string<char>*}' [-Wformat=]
scanf("%c",&musicstr[j]);
^